diff options
author | Hailey <me@haileyok.com> | 2024-10-09 12:09:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 12:09:16 -0700 |
commit | 86b0d3b49819fbd81385ebc64ec86d8807c6a189 (patch) | |
tree | 5ad5ef6b4ca856a80f4d3a8832c930211d20c2b9 /modules | |
parent | cca344a3d1cdca3d4e63806a9bd5f7867f8961d4 (diff) | |
download | voidsky-86b0d3b49819fbd81385ebc64ec86d8807c6a189.tar.zst |
Add missing web component (for native view manager) (#5662)
Diffstat (limited to 'modules')
-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') +} |