Skip to content

Commit

Permalink
Update README to add ref to snapTo example (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirbyMcKenzie authored Mar 10, 2022
1 parent 69d0042 commit fff0ede
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function Example() {

{/* Opens to 400 since initial index is 1 */}
<Sheet
ref={ref}
isOpen={isOpen}
onClose={() => setOpen(false)}
snapPoints={[600, 400, 100, 0]}
Expand Down

0 comments on commit fff0ede

Please sign in to comment.