🎥 Make videos programmatically with React
@remotion/shapes: Apply prettier formatting to arrow docs MDX files
copilot-swe-agent[bot]0f0bcb333842
diff --git a/packages/docs/docs/shapes/arrow.mdx b/packages/docs/docs/shapes/arrow.mdxindex 303bb6f801..9894776f8e 100644--- a/packages/docs/docs/shapes/arrow.mdx+++ b/packages/docs/docs/shapes/arrow.mdx@@ -1,9 +1,9 @@---title: <Arrow />-crumb: "@remotion/shapes"+crumb: '@remotion/shapes'----import {ShapeSeeAlso, ShapeOptions} from "../../components/shapes/shapes-info"+import {ShapeSeeAlso, ShapeOptions} from '../../components/shapes/shapes-info';_Part of the [` @remotion/shapes`](/docs/shapes) package._@@ -16,26 +16,19 @@ Renders an SVG element containing an arrow shape.## Example```tsx twoslash title="src/Arrow.tsx"-import { Arrow } from "@remotion/shapes";-import { AbsoluteFill } from "remotion";+import {Arrow} from '@remotion/shapes';+import {AbsoluteFill} from 'remotion';export const MyComposition = () => {return (<AbsoluteFillstyle={{- backgroundColor: "white",- justifyContent: "center",- alignItems: "center",+ backgroundColor: 'white',+ justifyContent: 'center',+ alignItems: 'center',}}>- <Arrow- length={200}- headWidth={80}- headLength={80}- shaftWidth={40}- fill="red"- direction="right"- />+ <Arrow length={200} headWidth={80} headLength={80} shaftWidth={40} fill="red" direction="right" /></AbsoluteFill>);};@@ -47,4 +40,4 @@ export const MyComposition = () => {## See also-<ShapeSeeAlso shape="arrow"/>+<ShapeSeeAlso shape="arrow" />diff --git a/packages/docs/docs/shapes/make-arrow.mdx b/packages/docs/docs/shapes/make-arrow.mdxindex c9c377dc55..8be71c6b95 100644--- a/packages/docs/docs/shapes/make-arrow.mdx+++ b/packages/docs/docs/shapes/make-arrow.mdx@@ -1,9 +1,9 @@---title: makeArrow()-crumb: "@remotion/shapes"+crumb: '@remotion/shapes'----import {MakeShapeSeeAlso, ShapeOptions, MakeShapeReturnType} from "../../components/shapes/shapes-info"+import {MakeShapeSeeAlso, ShapeOptions, MakeShapeReturnType} from '../../components/shapes/shapes-info';_Part of the [`@remotion/shapes`](/docs/shapes) package._@@ -12,14 +12,14 @@ Generates an SVG path for an arrow shape.## Example```tsx twoslash title="arrow.ts"-import { makeArrow } from "@remotion/shapes";+import {makeArrow} from '@remotion/shapes';-const { path, width, height, transformOrigin } = makeArrow({+const {path, width, height, transformOrigin} = makeArrow({length: 200,headWidth: 80,headLength: 80,shaftWidth: 40,- direction: "right",+ direction: 'right',});console.log(path); // M 0 20 L 120 20 L 120 0 L 200 40 L 120 80 L 120 60 L 0 60 L 0 20 Z@@ -30,12 +30,12 @@ console.log(transformOrigin); // '100 40'## Arguments-<ShapeOptions shape="arrow"/>+<ShapeOptions shape="arrow" />## Return type-<MakeShapeReturnType shape="arrow"/>+<MakeShapeReturnType shape="arrow" />## See also-<MakeShapeSeeAlso shape="arrow"/>+<MakeShapeSeeAlso shape="arrow" />