Skip to content

Commit

Permalink
chore: export bottom sheet props
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Mar 4, 2021
1 parent e51490b commit 60514b4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ export const {
TouchableWithoutFeedback,
} = BottomSheetTouchable;

// default components / types
export type { BottomSheetHandleProps } from './components/bottomSheetHandle';
export type { BottomSheetBackdropProps } from './components/bottomSheetBackdrop';
export type { BottomSheetBackgroundProps } from './components/bottomSheetBackground';

// backdrop
export { default as BottomSheetBackdrop } from './components/bottomSheetBackdrop';

Expand All @@ -30,3 +25,10 @@ export { default as BottomSheetModalProvider } from './components/bottomSheetMod
// hooks
export { useBottomSheet } from './hooks/useBottomSheet';
export { useBottomSheetModal } from './hooks/useBottomSheetModal';

// default types
export type { BottomSheetProps } from './components/bottomSheet';
export type { BottomSheetModalProps } from './components/bottomSheetModal';
export type { BottomSheetHandleProps } from './components/bottomSheetHandle';
export type { BottomSheetBackdropProps } from './components/bottomSheetBackdrop';
export type { BottomSheetBackgroundProps } from './components/bottomSheetBackground';

0 comments on commit 60514b4

Please sign in to comment.