MCPcopy
hub / github.com/react-component/form / render

Method render

tests/createForm.spec.js:46–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 onFieldsChange,
45 })(class extends React.Component {
46 render() {
47 const { getFieldProps } = this.props.form;
48 return (
49 <form>
50 <input {...getFieldProps('user.name')} />
51 <input {...getFieldProps('user.age')} type="number" />
52 <input {...getFieldProps('agreement')} type="checkbox" />
53 </form>
54 );
55 }
56 });
57 const wrapper = mount(<Test />);
58

Callers

nothing calls this directly

Calls 1

getFieldPropsFunction · 0.85

Tested by

no test coverage detected