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

Function changeBackdrop

stories/examples/Modal/BackdropExample.js:23–29  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

21 const toggle = () => setModal(!modal);
22
23 const changeBackdrop = (e) => {
24 let { value } = e.target;
25 if (value !== 'static') {
26 value = JSON.parse(value);
27 }
28 setBackdrop(value);
29 };
30
31 const changeKeyboard = (e) => {
32 setKeyboard(e.currentTarget.checked);

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…