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

Method dismiss

src/Message.js:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 dismiss () {
27 if (this.props.dismissed) {
28 return;
29 }
30 this.props.onDismiss(this.props.index);
31 }
32
33 render () {
34 let className = classnames(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected