From 86b0d3b49819fbd81385ebc64ec86d8807c6a189 Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 9 Oct 2024 12:09:16 -0700 Subject: Add missing web component (for native view manager) (#5662) --- modules/bottom-sheet/src/BottomSheet.web.tsx | 2 +- modules/bottom-sheet/src/BottomSheetNativeComponent.web.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 modules/bottom-sheet/src/BottomSheetNativeComponent.web.tsx (limited to 'modules') 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') +} -- cgit 1.4.1