tweakpane / use-tweaks

🎛️ Tweak React components with Tweakpane
https://codesandbox.io/s/use-tweaks-example-58e02
MIT License
769 stars 23 forks source link

Cannot start the pane closed #39

Closed marcofugaro closed 3 years ago

marcofugaro commented 3 years ago

Passing { expanded: false } as a third argument (the option argument) does not work.

Reproducible here: https://codesandbox.io/s/use-tweaks-example-forked-j22p4?file=/src/App.js

Current Result

Expected Result

It should forward correctly the options to tweakpane: https://cocopon.github.io/tweakpane/api/classes/rootapi.html#expanded

cocopon commented 3 years ago

Fixed in 0.3.2-alpha.0.