2.0.10 • Published 4 years ago
react-form-templete-design v2.0.10
react-form-templete-design
yarn add react-form-templete-design
使用示例
import 'react-form-templete-design/dist/style.scss'
import FormDesign,{FormRender} from 'react-form-templete-design'
//编辑器 获取编辑完成json
<FormDesign handleSuccessEdit={handleFunc} />
<FormRender
submitText="确定"
defaultData={{form_item:"render"}}
/>
API
FormDesign
属性名 | 说明 | 类型 | 默认值 |
---|---|---|---|
handleSuccessEdit | 处理编辑完成状态 | function | |
defaultLayout | 表单默认内容,来源:handleSuccessEdit 返回值 | Object |
FormRender
属性名 | 说明 | 类型 | 默认值 |
---|---|---|---|
submitText | 表单提交文字 | string | 确定 |
defaultData | 表单默认数据 | object | {} |
data | FormDesign handleSuccessEdit 返回值 | Object | |
onSubmit | 表单提交 | fundtion |
2.0.10
4 years ago
2.0.9
4 years ago
2.0.7
4 years ago
2.0.6
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.0.3
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
0.0.18
4 years ago
0.0.17
4 years ago
0.0.16
4 years ago
0.0.15
4 years ago
0.0.14
4 years ago
0.0.12
4 years ago
0.0.13
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.1
4 years ago