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

Method toggle

types/reactstrap-tests.tsx:1254–1257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1252 }
1253
1254 toggle() {
1255 const status = !this.state.collapse ? 'Opening...' : 'Closing...';
1256 this.setState({ collapse: !this.state.collapse, status });
1257 }
1258
1259 render() {
1260 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected