| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import { PopupProps } from '../popup/index';
- export interface TdActionSheetProps {
- align?: {
- type: StringConstructor;
- value?: 'center' | 'left';
- };
- cancelText?: {
- type: StringConstructor;
- value?: string;
- };
- count?: {
- type: NumberConstructor;
- value?: number;
- };
- description?: {
- type: StringConstructor;
- value?: string;
- };
- items: {
- type: ArrayConstructor;
- value?: Array<string | ActionSheetItem>;
- required?: boolean;
- };
- popupProps?: {
- type: ObjectConstructor;
- value?: PopupProps;
- };
- showCancel?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- showOverlay?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- theme?: {
- type: StringConstructor;
- value?: 'list' | 'grid';
- };
- usingCustomNavbar?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- visible?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- defaultVisible?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- }
- export interface ActionSheetItem {
- label: string;
- color?: string;
- disabled?: boolean;
- icon?: string;
- suffixIcon?: string;
- }
|