mirror of
https://github.com/zhigang1992/react-native-bottom-sheet.git
synced 2026-01-12 22:50:12 +08:00
chore: export bottom sheet props type
This commit is contained in:
@@ -10,5 +10,5 @@ export {
|
||||
export {
|
||||
BottomSheetModalInternalContext,
|
||||
BottomSheetModalInternalProvider,
|
||||
BottomSheetModalInternalContextType,
|
||||
} from './modal/internal';
|
||||
export type { BottomSheetModalInternalContextType } from './modal/internal';
|
||||
|
||||
12
src/index.ts
12
src/index.ts
@@ -15,11 +15,6 @@ export const {
|
||||
TouchableWithoutFeedback,
|
||||
} = BottomSheetTouchable;
|
||||
|
||||
// default components / types
|
||||
export type { BottomSheetHandleProps } from './components/bottomSheetHandle';
|
||||
export type { BottomSheetBackgroundProps } from './components/bottomSheetBackground';
|
||||
export type { BottomSheetBackdropProps } from './components/bottomSheetBackdrop';
|
||||
|
||||
// backdrop
|
||||
export { default as BottomSheetBackdrop } from './components/bottomSheetBackdrop';
|
||||
|
||||
@@ -32,3 +27,10 @@ export { useBottomSheet } from './hooks/useBottomSheet';
|
||||
export { useBottomSheetModal } from './hooks/useBottomSheetModal';
|
||||
export { useBottomSheetSpringConfigs } from './hooks/useBottomSheetSpringConfigs';
|
||||
export { useBottomSheetTimingConfigs } from './hooks/useBottomSheetTimingConfigs';
|
||||
|
||||
// components types
|
||||
export type { BottomSheetProps } from './components/bottomSheet';
|
||||
export type { BottomSheetModalProps } from './components/bottomSheetModal';
|
||||
export type { BottomSheetHandleProps } from './components/bottomSheetHandle';
|
||||
export type { BottomSheetBackgroundProps } from './components/bottomSheetBackground';
|
||||
export type { BottomSheetBackdropProps } from './components/bottomSheetBackdrop';
|
||||
|
||||
Reference in New Issue
Block a user