🎥 Make videos programmatically with React
number
Jonny Burgerba9af6a77109
diff --git a/packages/docs/components/shapes/shapes-info.tsx b/packages/docs/components/shapes/shapes-info.tsxindex fabeef7c8c..bf47f51b7c 100644--- a/packages/docs/components/shapes/shapes-info.tsx+++ b/packages/docs/components/shapes/shapes-info.tsx@@ -91,7 +91,7 @@ export const shapeComponents: ShapeComponent[] = [},{name: 'rotation',- type: 'boolean',+ type: 'number',description: (<>Add rotation to the path. <code>0</code> means no rotation,{' '}diff --git a/packages/shapes/src/components/pie.tsx b/packages/shapes/src/components/pie.tsxindex 19a485a8e0..1873b3cea6 100644--- a/packages/shapes/src/components/pie.tsx+++ b/packages/shapes/src/components/pie.tsx@@ -12,7 +12,7 @@ export type PieProps = MakePieProps & AllShapesProps;* @param {Number} progress The percentage of the circle that is filled. 0 means fully empty, 1 means fully filled.* @param {Boolean} closePath If set to false, no path to the middle of the circle will be drawn, leading to an open arc. Default true.* @param {Boolean} counterClockwise If set, the circle gets filled counterclockwise instead of clockwise. Default false.- * @param {Boolean} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation+ * @param {Number} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation* @see [Documentation](https://www.remotion.dev/docs/shapes/pie)*/diff --git a/packages/shapes/src/utils/make-pie.ts b/packages/shapes/src/utils/make-pie.tsindex 7a60557bc0..f7d38b6a2d 100644--- a/packages/shapes/src/utils/make-pie.ts+++ b/packages/shapes/src/utils/make-pie.ts@@ -41,7 +41,7 @@ const getCoord = ({* @param {Number} progress The percentage of the circle that is filled. 0 means fully empty, 1 means fully filled.* @param {Boolean} closePath If set to false, no path to the middle of the circle will be drawn, leading to an open arc. Default true.* @param {Boolean} counterClockwise If set, the circle gets filled counterclockwise instead of clockwise. Default false.- * @param {Boolean} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation+ * @param {Number} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation* @see [Documentation](https://www.remotion.dev/docs/shapes/make-pie)*/export const makePie = ({