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

Interface TraitsProviderProps

packages/grapesjs-react/src/TraitsProvider.tsx:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21export type TraitsResultProps = TraitsState;
22
23export interface TraitsProviderProps {
24 children: (props: TraitsResultProps) => ReactElement<any>;
25}
26
27const TraitsProvider = memo(function ({ children }: TraitsProviderProps) {
28 const { editor } = useEditorInstance();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected