MCPcopy Index your code
hub / github.com/flyfloor/react-component / close

Function close

component/SlideMenu.js:58–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 },
57
58 close(){
59 const {onClose} = this.props
60 if (onClose && !onClose()) return
61 this.setState({
62 display: false
63 });
64 },
65
66 render() {
67 const {display} = this.state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…