diff options
Diffstat (limited to 'modules/bottom-sheet')
-rw-r--r-- | modules/bottom-sheet/src/BottomSheet.web.tsx | 2 | ||||
-rw-r--r-- | modules/bottom-sheet/src/BottomSheetNativeComponent.web.tsx | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/bottom-sheet/src/BottomSheet.web.tsx b/modules/bottom-sheet/src/BottomSheet.web.tsx index 4573604eb..1813d54dd 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 000000000..f1a77cf33 --- /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') +} |