This commit is contained in:
Hailey
2024-10-02 09:02:11 -07:00
parent d4b8401057
commit 1ca6d360eb
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ import {AccessibilityProps, ViewStyle} from 'react-native'
import {PressableEvent} from 'react-native-gesture-handler/lib/typescript/components/Pressable/PressableProps' import {PressableEvent} from 'react-native-gesture-handler/lib/typescript/components/Pressable/PressableProps'
import { import {
BlueskyBottomSheetPressable, BlueskyBottomSheetPressable,
BueskyBottomSheetPressableProps, BlueskyBottomSheetPressableProps,
} from '@haileyok/bluesky-bottom-sheet' } from '@haileyok/bluesky-bottom-sheet'
import {atoms as a} from '#/alf' import {atoms as a} from '#/alf'
@@ -23,7 +23,7 @@ export function BottomSheetButton({
disabled, disabled,
style, style,
...rest ...rest
}: BueskyBottomSheetPressableProps & }: BlueskyBottomSheetPressableProps &
AccessibilityProps & AccessibilityProps &
VariantProps & { VariantProps & {
/** /**
+2 -2
View File
@@ -5,7 +5,7 @@ import {
PressableProps, PressableProps,
} from 'react-native' } from 'react-native'
import {PressableEvent} from 'react-native-gesture-handler/lib/typescript/components/Pressable/PressableProps' 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 {TextStyleProp, ViewStyleProp} from '#/alf'
import * as Dialog from '#/components/Dialog' import * as Dialog from '#/components/Dialog'
@@ -89,7 +89,7 @@ export type TriggerChildProps =
} }
export type ItemProps = React.PropsWithChildren< export type ItemProps = React.PropsWithChildren<
Omit<BueskyBottomSheetPressableProps, 'style'> & Omit<BlueskyBottomSheetPressableProps, 'style'> &
ViewStyleProp & { ViewStyleProp & {
label: string label: string
onPress: (e: PressableEvent | GestureResponderEvent) => void onPress: (e: PressableEvent | GestureResponderEvent) => void