File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -201,8 +201,9 @@ const FormDemo = () => {
201201
202202<!-- DemoStart-->
203203``` jsx
204- import { SafeAreaView ,View ,Text } from ' react-native' ;
205- import { Form ,Button ,Flex } from ' @uiw/react-native' ;
204+ import React from ' react'
205+ import { SafeAreaView } from ' react-native' ;
206+ import { Form , Button } from ' @uiw/react-native' ;
206207
207208class FormDemo extends React .Component {
208209 render (){
@@ -222,14 +223,7 @@ class FormDemo extends React.Component {
222223 < Form
223224 form= {form}
224225 schema= {schema}
225- initialValues= {{ name: ' 王滴滴' , rate: 4 }}
226- watch= {{
227- name : (value : unknown ) => console .log (' value' , value),
228- }}
229- customComponentList= {{
230- render: < Slider / > ,
231- }}
232- changeValidate= {true }
226+ initialValues= {{ name: ' 王滴滴' }}
233227 / >
234228 < Button
235229 type= " primary"
You can’t perform that action at this time.
0 commit comments