()
| 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 | |
| 28 | ReactDOM.render(<Demo />, document.getElementById('demo')); |
nothing calls this directly
no outgoing calls
no test coverage detected