MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / flash

Function flash

src/tools/shape-magic/Controls.jsx:306–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 const exportOpts = { padding: exportPad, forceBackground: includeBg };
305
306 const flash = key => {
307 setCopyStatus(key);
308 setTimeout(() => setCopyStatus(null), 2000);
309 };
310
311 const handleCopySVG = useCallback(() => {
312 navigator.clipboard.writeText(

Callers 1

ControlsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected