···11-import React from 'react'
22-33-import {BottomSheetViewProps} from './BottomSheet.types'
44-import {BottomSheetNativeComponent} from './BottomSheetNativeComponent'
55-import {useBottomSheetPortal_INTERNAL} from './BottomSheetPortal'
66-77-export const BottomSheet = React.forwardRef<
88- BottomSheetNativeComponent,
99- BottomSheetViewProps
1010->(function BottomSheet(props, ref) {
1111- const Portal = useBottomSheetPortal_INTERNAL()
1212-1313- if (__DEV__ && !Portal) {
1414- throw new Error(
1515- 'BottomSheet: You need to wrap your component tree with a <BottomSheetPortalProvider> to use the bottom sheet.',
1616- )
1717- }
1818-1919- return (
2020- <Portal>
2121- <BottomSheetNativeComponent {...props} ref={ref} />
2222- </Portal>
2323- )
2424-})
11+export {BottomSheetNativeComponent as BottomSheet} from './BottomSheetNativeComponent'