UNPKG

tdesign-miniprogram

Version:
31 lines (30 loc) 646 B
export interface TdSwipeCellProps { disabled?: { type: BooleanConstructor; value?: boolean; }; left?: { type: ArrayConstructor; value?: Array<SwipeActionItem>; }; opened?: { type: null; value?: boolean | Array<boolean>; }; right?: { type: ArrayConstructor; value?: Array<SwipeActionItem>; }; style?: { type: StringConstructor; value?: string; }; } export interface SwipeActionItem { text?: string; icon?: string | object; className?: string; style?: string; onClick?: () => void; [key: string]: any; }