UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

12 lines (11 loc) 866 B
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>>;