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

Interface AssetsEventProps

packages/grapesjs-react/src/AssetsProvider.tsx:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47export interface AssetsEventProps {
48 open: boolean;
49 assets: Asset[];
50 types: string[];
51 select: () => void;
52 close: () => void;
53 container: HTMLElement;
54}
55
56const AssetsProvider = memo(function ({ children }: AssetsProviderProps) {
57 const { editor } = useEditorInstance();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected