UNPKG

tdesign-miniprogram

Version:
44 lines (43 loc) 991 B
import { OverlayProps } from '../overlay/index'; export interface TdToastProps { direction?: { type: StringConstructor; value?: 'row' | 'column'; }; duration?: { type: NumberConstructor; value?: number; }; icon?: { type: null; value?: string | object; }; message?: { type: StringConstructor; value?: string; }; overlayProps?: { type: ObjectConstructor; value?: OverlayProps; }; placement?: { type: StringConstructor; value?: 'top' | 'middle' | 'bottom'; }; preventScrollThrough?: { type: BooleanConstructor; value?: boolean; }; showOverlay?: { type: BooleanConstructor; value?: boolean; }; theme?: { type: StringConstructor; value?: 'loading' | 'success' | 'warning' | 'error'; }; usingCustomNavbar?: { type: BooleanConstructor; value?: boolean; }; }