You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same signature as the `defaultSnap` prop, calling it will animate the sheet to the new snap point you return. You can either call it with a number, which is the height in px (it'll select the closest snap point that matches your value): `ref.current.snapTo(200)`. Or:
248
275
@@ -255,6 +282,16 @@ ref.current.snapTo(({ // Showing all the available props
255
282
)
256
283
```
257
284
285
+
There's an optional second argument you can use to override `event.source`, as well as changing the `velocity`:
0 commit comments