Skip to content

🎥 Make videos programmatically with React

fix props

Jonny Burgeread870db57ce
diff --git a/packages/shapes/src/components/star.tsx b/packages/shapes/src/components/star.tsx
index d71a85c3db..6d4bbace4d 100644
--- a/packages/shapes/src/components/star.tsx
+++ b/packages/shapes/src/components/star.tsx
@@ -4,7 +4,7 @@ import {makeStar} from '../utils/make-star';
import type {AllShapesProps} from './render-svg';
import {RenderSvg} from './render-svg';
-export type StarProps = MakeStarProps & AllShapesProps;
+export type StarProps = MakeStarProps & Omit<AllShapesProps, 'points'>;
export const Star: React.FC<StarProps> = ({
width,