import { default as React, FunctionComponent } from 'react'; import { BasicComponent } from '../../utils/typings'; export interface SpaceProps extends BasicComponent { /** * 间距方向 * @default 'horizontal' */ direction: 'horizontal' | 'vertical' /** * 交叉轴对齐方式 * @default - */ align: 'start' | 'end' | 'center' | 'baseline' /** * 主轴对齐方式 * @default - */ justify: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch' /** * 是否自动换行,仅在 horizontal 时有效 * @default false */ wrap: boolean } export declare const Space: FunctionComponent & React.HTMLAttributes>;