···11import React from 'react'
22-import type {ViewStyle, AccessibilityProps} from 'react-native'
22+import type {AccessibilityProps} from 'react-native'
33import {BottomSheetProps} from '@gorhom/bottom-sheet'
44+55+import {ViewStyleProp} from '#/alf'
4657type A11yProps = Required<AccessibilityProps>
68···810 close: () => void
911}
10121313+export type DialogControlOpenOptions = {
1414+ /**
1515+ * NATIVE ONLY
1616+ *
1717+ * Optional index of the snap point to open the bottom sheet to. Defaults to
1818+ * 0, which is the first snap point (i.e. "open").
1919+ */
2020+ index?: number
2121+}
2222+1123export type DialogControlProps = {
1212- open: (index?: number) => void
2424+ open: (options?: DialogControlOpenOptions) => void
1325 close: () => void
1426}
1527···2638 webOptions?: {}
2739}
28402929-type DialogInnerPropsBase<T> = React.PropsWithChildren<{
3030- style?: ViewStyle
3131-}> &
3232- T
4141+type DialogInnerPropsBase<T> = React.PropsWithChildren<ViewStyleProp> & T
3342export type DialogInnerProps =
3443 | DialogInnerPropsBase<{
3544 label?: undefined