Skip to content

Commit cb29656

Browse files
jmacindoeosdnk
authored andcommitted
fix: update snapPoints TypeScript (#37)
1 parent da6bc1d commit cb29656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type Props = {
1212
* Points for snapping of bottom sheet component. They define distance from bottom of the screen.
1313
* Might be number or percent (as string e.g. '20%') for points or percents of screen height from bottom.
1414
*/
15-
snapPoints: number[]
15+
snapPoints: (number | string)[]
1616

1717
/**
1818
* Determines initial snap point of bottom sheet. Defaults to 0.

0 commit comments

Comments
 (0)