UNPKG

654 BPlain TextView Raw
1import { ViewStyle } from 'react-native'
2import { FormItemPropsType } from './PropTypes'
3
4export default interface FormPropsType {
5 /**
6 * 允许你设置 FormItms
7 */
8 items: FormItemPropsType[]
9 /**
10 * 列表是否有上下边框
11 */
12 noBorder: boolean
13 /**
14 * 允许你设置任意 children
15 */
16 children?: React.ReactElement[]
17 /**
18 * list header
19 */
20 renderHeader?: (() => React.ReactType) | string | JSX.Element
21 /**
22 * list footer
23 */
24 renderFooter?: (() => React.ReactType) | string | JSX.Element
25 /**
26 * rc-form传入,rc-form没有类型声明文件
27 */
28 form?: any
29 style?: ViewStyle
30 options?: object
31}
32
\No newline at end of file