Skip to content

Commit 0ed6a96

Browse files
committed
chore: formatting
1 parent a8102bf commit 0ed6a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export type Props = {
121121
* Handler that is called to get the initial height of the bottom sheet when it's opened (or when the viewport is resized).
122122
* @default ({ snapPoints, lastSnap }) => lastSnap ?? Math.min(...snapPoints)
123123
*/
124-
defaultSnap?: (props: defaultSnapProps) => number | number
124+
defaultSnap?: number | ((props: defaultSnapProps) => number)
125125

126126
/**
127127
* Configures body-scroll-lock to reserve scrollbar gap by setting padding on <body>, clears when closing the bottom sheet.

0 commit comments

Comments
 (0)