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

Method render

docs/examples/formError.tsx:28–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 };
27
28 render() {
29 if (this.state.destroy) {
30 return null;
31 }
32 return (
33 <div>
34 <div style={{ marginTop: 100, marginLeft: 100, marginBottom: 100 }}>
35 <Tooltip
36 visible={this.state.visible}
37 animation="zoom"
38 trigger={[]}
39 overlayStyle={{ zIndex: 1000 }}
40 overlay={<span>required!</span>}
41 >
42 <input onChange={this.handleChange} />
43 </Tooltip>
44 </div>
45 <button type="button" onClick={this.handleDestroy}>
46 destroy
47 </button>
48 </div>
49 );
50 }
51}
52
53export default Test;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected