You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.3 KiB
63 lines
1.3 KiB
// 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
|
|
|
|
import { VNodeChild } from 'vue';
|
|
import { AntdComponent, AntdProps } from '../component';
|
|
import { DescriptionsItem } from './descriptions-item';
|
|
|
|
import { Breakpoint } from '../pub';
|
|
|
|
export declare class Descriptions extends AntdComponent {
|
|
static Item: typeof DescriptionsItem;
|
|
|
|
$props: AntdProps & {
|
|
/**
|
|
* 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;
|
|
};
|
|
}
|