import type React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { PopupProps } from '../Popup/type'; export interface TextNodeProps { children: string | React.ReactElement; style?: StyleProp; } export interface ActionSheetAction { name: string; subname?: string; color?: string; style?: StyleProp; loading?: boolean; disabled?: boolean; callback?: (action: ActionSheetAction) => void; } export interface ActionSheetProps extends PopupProps { actions?: ActionSheetAction[]; title?: string | React.ReactElement; cancelText?: string | React.ReactElement; description?: string | React.ReactElement; onSelect?: (action: ActionSheetAction, index: number) => void; onCancel?: () => void; }