tdesign-vue-next
Version:
TDesign Component for vue-next
21 lines (20 loc) • 577 B
TypeScript
import { TNode, SizeEnum, Styles } from '../common';
export interface TdDescriptionsProps {
bordered?: boolean;
colon?: boolean;
column?: number;
contentStyle?: Styles;
itemLayout?: 'horizontal' | 'vertical';
items?: Array<TdDescriptionsItemProps>;
labelStyle?: Styles;
layout?: 'horizontal' | 'vertical';
size?: SizeEnum;
tableLayout?: 'fixed' | 'auto';
title?: string | TNode;
}
export interface TdDescriptionsItemProps {
content?: string | TNode;
default?: string | TNode;
label?: string | TNode;
span?: number;
}