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

Method render

tests/async-validation.spec.js:20–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 }
19
20 render() {
21 const { getFieldProps } = this.props.form;
22 return (
23 <div>
24 <input {...getFieldProps('normal')} />
25 <input
26 {...getFieldProps('async', {
27 rules: [this.check],
28 })}
29 />
30 </div>
31 );
32 }
33}
34
35Test = createForm({

Callers 1

Calls 1

getFieldPropsFunction · 0.85

Tested by

no test coverage detected