@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
14 lines (13 loc) • 455 B
TypeScript
import { ReactNode } from 'react';
export interface FlexPropsType {
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
justify?: 'start' | 'end' | 'center' | 'between' | 'around';
align?: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
children?: ReactNode;
disabled?: boolean;
}
export interface FlexItemPropsType {
disabled?: boolean;
children?: ReactNode;
}