MCPcopy Create free account
hub / github.com/react-component/select / render

Method render

docs/examples/loading.tsx:45–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 };
44
45 render() {
46 const { loading, children, value } = this.state;
47 return (
48 <div>
49 <h2>loading load data</h2>
50
51 <div style={{ width: 300 }}>
52 <Select
53 value={value}
54 style={{ width: 500 }}
55 mode="multiple"
56 loading={loading}
57 optionFilterProp="children"
58 optionLabelProp="children"
59 onSelect={this.onSelect}
60 placeholder="please select"
61 onChange={this.onChange}
62 onFocus={() => console.log('focus')}
63 onBlur={(v) => console.log('blur', v)}
64 tokenSeparators={[' ', ',']}
65 >
66 {children}
67 </Select>
68 </div>
69 </div>
70 );
71 }
72}
73
74export default Test;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected