riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/swipe-cell/type.d.ts
@@ -1,8 +1,4 @@
export interface TdSwipeCellProps {
    style?: {
        type: StringConstructor;
        value?: string;
    };
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
@@ -12,10 +8,8 @@
        value?: Array<SwipeActionItem>;
    };
    opened?: {
        type: BooleanConstructor;
        optionalTypes: Array<ArrayConstructor>;
        type: null;
        value?: boolean | Array<boolean>;
        required?: boolean;
    };
    right?: {
        type: ArrayConstructor;
@@ -23,7 +17,8 @@
    };
}
export interface SwipeActionItem {
    text: string;
    text?: string;
    icon?: string | object;
    className?: string;
    style?: string;
    onClick?: () => void;