@slesaad/veda-content-editor
Version:
VEDA Content Editor - A React-based MDX editor component
19 lines • 687 B
TypeScript
import React from 'react';
/**
* Generic node grouping plugin that allows custom filtering and grouping of nodes
*/
interface GenericNodeGroupingPluginProps {
groupingFunction?: (node: any, index: number, allNodes: any[]) => string | null;
transformFunction?: (nodeGroup: any[], groupKey: string) => void;
}
export declare const GenericNodeGroupingPlugin: React.FC<GenericNodeGroupingPluginProps>;
/**
* Create a plugin for MDXEditor from our generic grouping plugin
*/
export declare const nodeGroupingPlugin: () => {
plugin: {
resolve: () => (props: any) => import("react/jsx-runtime").JSX.Element;
};
};
export {};
//# sourceMappingURL=mdxGrouping.d.ts.map