MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / toggle

Method toggle

src/UncontrolledAlert.js:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 }
11
12 toggle() {
13 this.setState((prevState) => ({ isOpen: !prevState.isOpen }));
14 }
15
16 render() {
17 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected