@alifd/meet-react
Version:
Fusion Mobile React UI System Component
11 lines (10 loc) • 453 B
TypeScript
import { ActionSheetOptionProps, ActionSheetProps } from './action-sheet';
export interface ActionSheetWrapperProps extends Omit<ActionSheetProps, 'visible'> {
message?: string;
options: ActionSheetOptionProps[] | string[];
onClick?: (option?: string | ActionSheetOptionProps, index?: number, e?: any) => void;
onClose?: (reason?: string) => void;
}
export default function (options: ActionSheetWrapperProps): {
close: () => any;
};