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

13 lines (12 loc) 904 B
import React from 'react'; export declare const CodeSyntaxLeaf: React.ForwardRefExoticComponent<Omit<Omit<{ leafToAttributes?: (leaf: import("@udecode/plate-common").TText) => any; } & import("@udecode/plate-common").PlateRenderNodeProps<import("@udecode/plate-common").Value, import("@udecode/plate-common").PlateEditor<import("@udecode/plate-common").Value>> & Omit<import("slate-react").RenderLeafProps, "text" | "leaf"> & { leaf: import("@udecode/plate-common").TText; text: import("@udecode/plate-common").TText; } & Omit<{ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined; asChild?: boolean | undefined; } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<any>, "ref"> & { ref?: React.Ref<any>; } & React.RefAttributes<HTMLSpanElement>, "ref">, never> & React.RefAttributes<any>>;