123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import { IBaseProps } from '../_util/base';
- export interface IActionItem {
- text: string;
- icon: string;
- description?: string;
- danger?: boolean;
- disabled?: boolean;
- }
- export interface IActionSheetProps extends IBaseProps {
-
- title: string;
-
- actions: IActionItem[];
-
- cancelText: string;
-
- visible: boolean;
-
- onAction: (aciton: IActionItem, index: number, e: any) => void;
-
- onClose: (e: any) => void;
- }
- export declare const ActionSheetDefaultProps: Partial<IActionSheetProps>;
|