Skip to content

Commit 36cf999

Browse files
committed
fix: export prop types ts definitions
1 parent dd2204f commit 36cf999

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import { BottomSheet as _BottomSheet } from './BottomSheet'
55
import type { Props, RefHandles, SpringEvent } from './types'
66
import { useLayoutEffect } from './hooks'
77

8-
export type { RefHandles as BottomSheetRef } from './types'
8+
export type {
9+
RefHandles as BottomSheetRef,
10+
Props as BottomSheetProps,
11+
} from './types'
912

1013
// Because SSR is annoying to deal with, and all the million complaints about window, navigator and dom elenents!
1114
export const BottomSheet = forwardRef<RefHandles, Props>(function BottomSheet(

0 commit comments

Comments
 (0)