tinacms
Version:
[](https://github.com/tinacms/tinacms/blob/main/LICENSE) [](https://www.npmjs.com/package/tinacms) [![Bui
12 lines (11 loc) • 866 B
TypeScript
import React from 'react';
export declare const CodeBlockElement: React.ForwardRefExoticComponent<Omit<Omit<{
elementToAttributes?: (element: import("@udecode/plate-common").TElement) => any;
} & Omit<{
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
asChild?: boolean | undefined;
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<any>, "ref"> & {
ref?: React.Ref<any>;
} & import("@udecode/plate-common").PlateRenderNodeProps<import("@udecode/plate-common").Value, import("@udecode/plate-common").PlateEditor<import("@udecode/plate-common").Value>> & {
element: import("@udecode/plate-common").TElement;
} & Omit<import("slate-react").RenderElementProps, "element"> & React.RefAttributes<HTMLDivElement>, "ref">, never> & React.RefAttributes<any>>;