diff --git a/modules/bottom-sheet/src/BottomSheet.web.tsx b/modules/bottom-sheet/src/BottomSheet.web.tsx index 4573604eb2..1813d54dda 100644 --- a/modules/bottom-sheet/src/BottomSheet.web.tsx +++ b/modules/bottom-sheet/src/BottomSheet.web.tsx @@ -1,5 +1,5 @@ import {BottomSheetViewProps} from './BottomSheet.types' export function BottomSheet(_: BottomSheetViewProps) { - throw new Error('BottomSheetView is not available on web') + throw new Error('BottomSheet is not available on web') } diff --git a/modules/bottom-sheet/src/BottomSheetNativeComponent.web.tsx b/modules/bottom-sheet/src/BottomSheetNativeComponent.web.tsx new file mode 100644 index 0000000000..f1a77cf33d --- /dev/null +++ b/modules/bottom-sheet/src/BottomSheetNativeComponent.web.tsx @@ -0,0 +1,5 @@ +import {BottomSheetViewProps} from './BottomSheet.types' + +export function BottomSheetNativeComponent(_: BottomSheetViewProps) { + throw new Error('BottomSheetNativeComponent is not available on web') +}