diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 40f26e23..3da75f0c 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -1,4 +1,4 @@ -import type { Pressable, Text, View, ViewStyle } from 'react-native'; +import type { Pressable, StyleProp, Text, View, ViewStyle } from 'react-native'; type ComponentPropsWithAsChild> = React.ComponentPropsWithoutRef & { asChild?: boolean }; @@ -36,7 +36,7 @@ type FocusOutsideEvent = CustomEvent<{ originalEvent: FocusEvent }>; */ interface PositionedContentProps { forceMount?: true | undefined; - style?: ViewStyle; + style?: StyleProp; alignOffset?: number; insets?: Insets; avoidCollisions?: boolean;