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

Method onClick

src/Tree/Item.js:67–73  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

65 }
66
67 onClick (data) {
68 // check if event
69 data = data.hasOwnProperty('_dispatchListeners') ? this.props.data : data;
70 if (this.props.onClick) {
71 this.props.onClick(data);
72 }
73 }
74
75 updateStatus () {
76 let status;

Callers 4

handleClickMethod · 0.80
handleClickMethod · 0.80
onClickFunction · 0.80
ReactRouter.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected