tinacms
Version:
[](https://github.com/tinacms/tinacms/blob/main/LICENSE) [](https://www.npmjs.com/package/tinacms) [![Bui
13 lines (12 loc) • 898 B
TypeScript
import React from 'react';
export declare const CodeLeaf: 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>>;