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