MCPcopy Create free account
hub / github.com/GrapesJS/react / setCustomLayers

Function setCustomLayers

packages/grapesjs-react/src/context/EditorOptions.tsx:49–51  ·  view source on GitHub ↗
(customLayers)

Source from the content-addressed store, hash-verified

47 setState(state => ({ ...state, customStyles }));
48 },
49 setCustomLayers(customLayers) {
50 setState(state => ({ ...state, customLayers }));
51 },
52 setCustomSelectors(customSelectors) {
53 setState(state => ({ ...state, customSelectors }));
54 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected