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

Function toggle

stories/examples/Modal/DestructuringExample.js:18–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 const [unmountOnClose, setUnmountOnClose] = useState(true);
17
18 const toggle = () => setModal(!modal);
19 const changeUnmountOnClose = (e) => {
20 let { value } = e.target;
21 setUnmountOnClose(JSON.parse(value));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…