2020-03-07 11:45:13 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2020-08-17 05:52:44 +00:00
|
|
|
import { VNodeChild } from 'vue';
|
2020-03-07 11:45:13 +00:00
|
|
|
import { AntdComponent } from '../component';
|
|
|
|
import { DescriptionsItem } from './descriptions-item';
|
|
|
|
|
2020-08-17 05:52:44 +00:00
|
|
|
import { Breakpoint } from '../pub';
|
|
|
|
|
2020-03-07 11:45:13 +00:00
|
|
|
export declare class Descriptions extends AntdComponent {
|
|
|
|
static Item: typeof DescriptionsItem;
|
|
|
|
|
2020-08-17 05:52:44 +00:00
|
|
|
$props: {
|
|
|
|
/**
|
|
|
|
* descriptions size type
|
|
|
|
* @default 'default'
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
size?: 'default' | 'middle' | 'small';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* custom prefixCls
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
prefixCls?: string;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* whether descriptions have border
|
|
|
|
* @default false
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
bordered?: boolean;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* custom title
|
|
|
|
* @type any
|
|
|
|
*/
|
|
|
|
title?: VNodeChild | JSX.Element;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* the number of descriptionsitem in one line
|
|
|
|
* @default 3
|
|
|
|
* @type number | object
|
|
|
|
*/
|
|
|
|
column?: number | Partial<Breakpoint>;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* descriptions layout
|
|
|
|
* @default 'horizontal'
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
layout?: 'horizontal' | 'vertical';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* whether have colon in descriptionsitem
|
|
|
|
* @default true
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
colon?: boolean;
|
|
|
|
};
|
2020-03-07 11:45:13 +00:00
|
|
|
}
|