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

Interface StylesProviderProps

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

Source from the content-addressed store, hash-verified

21export type StylesResultProps = StylesState;
22
23export interface StylesProviderProps {
24 children: (props: StylesResultProps) => ReactElement<any>;
25}
26
27const StylesProvider = memo(function ({ children }: StylesProviderProps) {
28 const { editor } = useEditorInstance();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected