Skip to content

🎥 Make videos programmatically with React

Update StarTest.tsx

Jonny Burger5cbe4aa42430
diff --git a/packages/example/src/Shapes/StarTest.tsx b/packages/example/src/Shapes/StarTest.tsx
index ed20c6763d..f2e28e2e9e 100644
--- a/packages/example/src/Shapes/StarTest.tsx
+++ b/packages/example/src/Shapes/StarTest.tsx
@@ -12,13 +12,7 @@ const StarTest: React.FC = () => {
flexDirection: 'row',
}}
>
- <Star
- width={200}
- height={200}
- points={5}
- innerRadius={80}
- outerRadius={200}
- />
+ <Star points={5} innerRadius={80} outerRadius={200} />
</AbsoluteFill>
);
};