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

Method toggle

src/UncontrolledCollapse.js:54–57  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

52 }
53
54 toggle(e) {
55 this.setState(({ isOpen }) => ({ isOpen: !isOpen }));
56 e.preventDefault();
57 }
58
59 render() {
60 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected