mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 04:58:16 +08:00
47 lines
1.1 KiB
TypeScript
47 lines
1.1 KiB
TypeScript
// 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 { AntdComponent, AntdProps } from '../component';
|
|
|
|
type Gutter =
|
|
| number
|
|
| {
|
|
xs: number;
|
|
sm: number;
|
|
md: number;
|
|
lg: number;
|
|
xl: number;
|
|
xxl: number;
|
|
};
|
|
export declare class Row extends AntdComponent {
|
|
$props: AntdProps & {
|
|
/**
|
|
* spacing between grids, could be a number or a object like { xs: 8, sm: 16, md: 24}
|
|
* @default 0
|
|
* @type numner | object
|
|
*/
|
|
gutter?: Gutter | [Gutter, Gutter];
|
|
|
|
/**
|
|
* layout mode, optional flex
|
|
* @type string
|
|
*/
|
|
type?: string;
|
|
|
|
/**
|
|
* the vertical alignment of the flex layout: top middle bottom
|
|
* @default 'top'
|
|
* @type string
|
|
*/
|
|
align?: 'top' | 'middle' | 'bottom';
|
|
|
|
/**
|
|
* horizontal arrangement of the flex layout: start end center space-around space-between
|
|
* @default 'start'
|
|
* @type string
|
|
*/
|
|
justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between';
|
|
};
|
|
}
|