about summary refs log tree commit diff
path: root/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-04-22 21:49:20 +0300
committerGitHub <noreply@github.com>2025-04-22 11:49:20 -0700
commitb1550f9c0296704df5f3fcf73b869f0f7cc55f73 (patch)
tree67fa06c2afdebfa4d030494824f721b8ba23610d /modules/bottom-sheet/src/BottomSheetNativeComponent.tsx
parentdba0bd83799275fb5ced42f9f938233a4385ff0d (diff)
downloadvoidsky-b1550f9c0296704df5f3fcf73b869f0f7cc55f73.tar.zst
fix first sheet height change not registering (#8267)
Diffstat (limited to 'modules/bottom-sheet/src/BottomSheetNativeComponent.tsx')
-rw-r--r--modules/bottom-sheet/src/BottomSheetNativeComponent.tsx13
1 files changed, 8 insertions, 5 deletions
diff --git a/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx b/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx
index 1fe592aa2..869b89e3d 100644
--- a/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx
+++ b/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx
@@ -1,18 +1,21 @@
 import * as React from 'react'
 import {
   Dimensions,
-  LayoutChangeEvent,
-  NativeSyntheticEvent,
+  type LayoutChangeEvent,
+  type NativeSyntheticEvent,
   Platform,
-  StyleProp,
+  type StyleProp,
   View,
-  ViewStyle,
+  type ViewStyle,
 } from 'react-native'
 import {useSafeAreaInsets} from 'react-native-safe-area-context'
 import {requireNativeModule, requireNativeViewManager} from 'expo-modules-core'
 
 import {isIOS} from '#/platform/detection'
-import {BottomSheetState, BottomSheetViewProps} from './BottomSheet.types'
+import {
+  type BottomSheetState,
+  type BottomSheetViewProps,
+} from './BottomSheet.types'
 import {BottomSheetPortalProvider} from './BottomSheetPortal'
 import {Context as PortalContext} from './BottomSheetPortal'