We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da6bc1d commit cb29656Copy full SHA for cb29656
src/index.tsx
@@ -12,7 +12,7 @@ type Props = {
12
* Points for snapping of bottom sheet component. They define distance from bottom of the screen.
13
* Might be number or percent (as string e.g. '20%') for points or percents of screen height from bottom.
14
*/
15
- snapPoints: number[]
+ snapPoints: (number | string)[]
16
17
/**
18
* Determines initial snap point of bottom sheet. Defaults to 0.
0 commit comments