chore: export bottom sheet props type

This commit is contained in:
Mo Gorhom
2021-03-04 16:02:40 +00:00
parent 36a76f6473
commit 849e9f45ea
2 changed files with 8 additions and 6 deletions

View File

@@ -10,5 +10,5 @@ export {
export {
BottomSheetModalInternalContext,
BottomSheetModalInternalProvider,
BottomSheetModalInternalContextType,
} from './modal/internal';
export type { BottomSheetModalInternalContextType } from './modal/internal';

View File

@@ -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';