File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import './Demo.css';
66export default function CreateSpiralApp ( { sendToFigma } : { sendToFigma : ( message : any ) => void } ) {
77
88 const [ count , setCount ] = useState ( 120 ) ;
9- const [ shape , setShape ] = useState < 'circle' | 'rectangle' | 'polygon' > ( 'polygon' ) ;
9+ const [ shape , setShape ] = useState < 'circle' | 'rectangle' | 'polygon' | 'star' | 'triangle' > ( 'polygon' ) ;
1010
1111 const createSpirals = ( ) => {
1212 sendToFigma ( { type : 'demo-create-spiral' , count, shape } ) ;
@@ -45,6 +45,8 @@ export default function CreateSpiralApp({ sendToFigma }: { sendToFigma: (message
4545 < option value = "circle" > Circle</ option >
4646 < option value = "rectangle" > Rectangle</ option >
4747 < option value = "polygon" > Polygon</ option >
48+ < option value = "star" > Star</ option >
49+ < option value = "triangle" > Triangle</ option >
4850 </ select >
4951 </ td >
5052 </ tr >
You can’t perform that action at this time.
0 commit comments