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

Method render

tests/overview.spec.js:12–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 const Test = createForm({ withRef: true })(
11 class extends React.Component {
12 render() {
13 const { getFieldProps } = this.props.form;
14 return (
15 <form>
16 <input {...getFieldProps('normal')} />
17 <input {...getFieldProps('nested1.a[0]')} />
18 <input {...getFieldProps('nested2[0].b')} />
19 </form>
20 );
21 }
22 }
23 );
24 const wrapper = mount(<Test />);

Callers

nothing calls this directly

Calls 1

getFieldPropsFunction · 0.85

Tested by

no test coverage detected