Temzasse / react-modal-sheet

Flexible bottom sheet component built with Framer Motion to provide buttery smooth UX while keeping accessibility in mind 🪐
https://temzasse.github.io/react-modal-sheet/
MIT License
830 stars 79 forks source link

Update README to add ref to snapTo example #38

Closed KirbyMcKenzie closed 2 years ago

KirbyMcKenzie commented 3 years ago

While adding snapTo functionality to our product that uses this package, I noticed that the example is missing the ref prop to the Sheet component that is needed for the method to work.