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

Function setCustomAssets

packages/grapesjs-react/src/context/EditorOptions.tsx:37–39  ·  view source on GitHub ↗
(customAssets)

Source from the content-addressed store, hash-verified

35 setState(state => ({ ...state, customModal }));
36 },
37 setCustomAssets(customAssets) {
38 setState(state => ({ ...state, customAssets }));
39 },
40 setCustomBlocks(customBlocks) {
41 setState(state => ({ ...state, customBlocks }));
42 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected