fix type
This commit is contained in:
@@ -3,7 +3,7 @@ import {AccessibilityProps, ViewStyle} from 'react-native'
|
||||
import {PressableEvent} from 'react-native-gesture-handler/lib/typescript/components/Pressable/PressableProps'
|
||||
import {
|
||||
BlueskyBottomSheetPressable,
|
||||
BueskyBottomSheetPressableProps,
|
||||
BlueskyBottomSheetPressableProps,
|
||||
} from '@haileyok/bluesky-bottom-sheet'
|
||||
|
||||
import {atoms as a} from '#/alf'
|
||||
@@ -23,7 +23,7 @@ export function BottomSheetButton({
|
||||
disabled,
|
||||
style,
|
||||
...rest
|
||||
}: BueskyBottomSheetPressableProps &
|
||||
}: BlueskyBottomSheetPressableProps &
|
||||
AccessibilityProps &
|
||||
VariantProps & {
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
PressableProps,
|
||||
} from 'react-native'
|
||||
import {PressableEvent} from 'react-native-gesture-handler/lib/typescript/components/Pressable/PressableProps'
|
||||
import {BueskyBottomSheetPressableProps} from '@haileyok/bluesky-bottom-sheet'
|
||||
import {BlueskyBottomSheetPressableProps} from '@haileyok/bluesky-bottom-sheet'
|
||||
|
||||
import {TextStyleProp, ViewStyleProp} from '#/alf'
|
||||
import * as Dialog from '#/components/Dialog'
|
||||
@@ -89,7 +89,7 @@ export type TriggerChildProps =
|
||||
}
|
||||
|
||||
export type ItemProps = React.PropsWithChildren<
|
||||
Omit<BueskyBottomSheetPressableProps, 'style'> &
|
||||
Omit<BlueskyBottomSheetPressableProps, 'style'> &
|
||||
ViewStyleProp & {
|
||||
label: string
|
||||
onPress: (e: PressableEvent | GestureResponderEvent) => void
|
||||
|
||||
Reference in New Issue
Block a user