Files
quinn-wx/components/result/type.d.ts
2022-12-16 17:32:49 +08:00

31 lines
711 B
TypeScript

export interface TdResultProps {
description?: {
type: StringConstructor;
value?: string;
required?: boolean;
};
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class', 't-class-description', 't-class-image'];
required?: boolean;
};
icon?: {
type: StringConstructor;
value?: string;
required?: boolean;
};
image?: {
type: StringConstructor;
value?: string;
required?: boolean;
};
title?: {
type: StringConstructor;
value?: string;
};
theme?: {
type: StringConstructor;
value?: 'default' | 'success' | 'warning' | 'error';
};
}