MCPcopy Create free account
hub / github.com/Lobos/react-ui / render

Method render

cli/demo/index.js:12–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 }
11
12 render () {
13 return (
14 <div>
15 <h2>React UI Form demo</h2>
16 <Form onSubmit={(data) => Modal.alert(JSON.stringify(data), 'alert')}>
17 <FormControl type="text" name="text" grid={1/4} label="text" />
18 <FormControl type="date" name="date" label="date" />
19 <FormControl type="time" name="time" label="time" />
20 <FormControl type="select" name="select" grid={1/4} label="select" data={['1', '2', '3', '4', '5', '6', '7']} />
21 <FormSubmit>submit</FormSubmit>
22 </Form>
23 </div>
24 );
25 }
26}
27
28ReactDOM.render(<Demo />, document.getElementById('demo'));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected