antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
12 lines (11 loc) • 538 B
TypeScript
import React, { FC } from 'react';
import { NativeProps } from '../../utils/native-props';
export declare type SpaceProps = {
direction?: 'horizontal' | 'vertical';
align?: 'start' | 'end' | 'center' | 'baseline';
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
wrap?: boolean;
block?: boolean;
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
} & NativeProps<'--gap' | '--gap-vertical' | '--gap-horizontal'>;
export declare const Space: FC<SpaceProps>;