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

Function isComponentSaved

src/utils/favorites.js:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27export const getSavedComponents = () => read();
28
29export const isComponentSaved = key => read().includes(key);
30
31export const addSavedComponent = key => {
32 const list = read();

Callers 2

cellRendererFunction · 0.90
TabsLayoutFunction · 0.90

Calls 1

readFunction · 0.70

Tested by

no test coverage detected