riku
2024-08-14 b4033c002e21c1376d68be61622da56182a962e9
miniprogram_npm/tdesign-miniprogram/toast/type.d.ts
@@ -1,8 +1,5 @@
import { TdOverlayProps as OverlayProps } from '../overlay/index';
export interface TdToastProps {
    style?: {
        type: StringConstructor;
        value?: string;
    };
    direction?: {
        type: StringConstructor;
        value?: 'row' | 'column';
@@ -11,13 +8,9 @@
        type: NumberConstructor;
        value?: number;
    };
    externalClasses?: {
        type: ArrayConstructor;
        value?: ['t-class'];
    };
    icon?: {
        type: null;
        value?: string;
        value?: string | object;
    };
    message?: {
        type: StringConstructor;
@@ -25,7 +18,7 @@
    };
    overlayProps?: {
        type: ObjectConstructor;
        value?: object;
        value?: OverlayProps;
    };
    placement?: {
        type: StringConstructor;
@@ -43,4 +36,8 @@
        type: StringConstructor;
        value?: 'loading' | 'success' | 'error';
    };
    usingCustomNavbar?: {
        type: BooleanConstructor;
        value?: boolean;
    };
}