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

Function setCustomTraits

packages/grapesjs-react/src/context/EditorOptions.tsx:55–57  ·  view source on GitHub ↗
(customTraits)

Source from the content-addressed store, hash-verified

53 setState(state => ({ ...state, customSelectors }));
54 },
55 setCustomTraits(customTraits) {
56 setState(state => ({ ...state, customTraits }));
57 },
58 setReady(ready) {
59 setState(state => ({ ...state, ready }));
60 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected