ored
Version:
An UI design language and React&Taro components implementation
10 lines (9 loc) • 352 B
text/typescript
export interface 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;
children?: React.ReactNode;
}