riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/picker/type.d.ts
@@ -1,4 +1,4 @@
import { ButtonProps } from '../button/index';
import { PopupProps } from '../popup/index';
import { KeysType } from '../common/common';
export interface TdPickerProps {
    autoClose?: {
@@ -7,23 +7,39 @@
    };
    cancelBtn?: {
        type: null;
        value?: boolean | string | ButtonProps;
        value?: boolean | string;
    };
    confirmBtn?: {
        type: null;
        value?: boolean | string | ButtonProps;
        value?: boolean | string;
    };
    header?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    itemHeight?: {
        type: NumberConstructor;
        value?: number;
    };
    keys?: {
        type: ObjectConstructor;
        value?: KeysType;
    };
    popupProps?: {
        type: ObjectConstructor;
        value?: PopupProps;
    };
    title?: {
        type: StringConstructor;
        value?: string;
    };
    usePopup?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    usingCustomNavbar?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    value?: {
        type: ArrayConstructor;
@@ -37,9 +53,9 @@
        type: BooleanConstructor;
        value?: boolean;
    };
    popupProps: {
        type: object;
        value?: {};
    visibleItemCount?: {
        type: NumberConstructor;
        value?: number;
    };
}
export declare type PickerValue = string | number;