tdesign-miniprogram
Version:
tdesign-miniprogram
39 lines (38 loc) • 842 B
TypeScript
export interface TdCollapsePanelProps {
content?: {
type: StringConstructor;
value?: string;
};
disabled?: {
type: BooleanConstructor;
value?: boolean;
};
expandIcon?: {
type: BooleanConstructor;
value?: boolean;
};
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class', 't-class-header', 't-class-content'];
};
header?: {
type: StringConstructor;
value?: string;
};
headerLeftIcon?: {
type: StringConstructor;
value?: string;
};
headerRightContent?: {
type: StringConstructor;
value?: string;
};
placement?: {
type: StringConstructor;
value?: 'bottom' | 'top';
};
value?: {
type: null;
value?: string | number;
};
}