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

Method componentDidMount

src/Tip.js:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 }
21
22 componentDidMount() {
23 if (this.props.trigger == 'click') {
24 this.registerClickAway(this.hideTip, this.root);
25 }
26 }
27
28 showTip () {
29 this.setState({

Callers

nothing calls this directly

Calls 1

registerClickAwayMethod · 0.80

Tested by

no test coverage detected