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

Function updateActiveProps

src/demo/Animations/ElectricBorderDemo.jsx:95–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 const activePropsKey = example === 'card' ? 'cardProps' : example === 'button' ? 'buttonProps' : 'circleProps';
94 const activeProps = props[activePropsKey];
95 const updateActiveProps = updates => updateProp(activePropsKey, { ...activeProps, ...updates });
96
97 return (
98 <ComponentPropsProvider

Callers 1

ElectricBorderDemoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected