riku
9 小时以前 8e3f3890e93d097df4be744648b9ac404d20a558
miniprogram_npm/tdesign-miniprogram/action-sheet/type.d.ts
@@ -1,3 +1,4 @@
import { PopupProps } from '../popup/index';
export interface TdActionSheetProps {
    align?: {
        type: StringConstructor;
@@ -18,8 +19,17 @@
    items: {
        type: ArrayConstructor;
        value?: Array<string | ActionSheetItem>;
        required?: boolean;
    };
    popupProps?: {
        type: ObjectConstructor;
        value?: PopupProps;
    };
    showCancel?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    showOverlay?: {
        type: BooleanConstructor;
        value?: boolean;
    };
@@ -27,21 +37,24 @@
        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;
    description?: string;
    color?: string;
    disabled?: boolean;
    icon?: string | object;
    suffixIcon?: string | object;
}