tinacms
Version:
[](https://github.com/tinacms/tinacms/blob/main/LICENSE) [](https://www.npmjs.com/package/tinacms) [![Bui
28 lines (27 loc) • 1.9 kB
TypeScript
import React from 'react';
export declare const TableCellElement: React.ForwardRefExoticComponent<{
hideBorder?: boolean;
isHeader?: boolean;
} & 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">, "hideBorder" | "isHeader"> & React.RefAttributes<any>>;
export declare const TableCellHeaderElement: React.ForwardRefExoticComponent<Omit<{
hideBorder?: boolean;
isHeader?: boolean;
} & 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">, "hideBorder" | "isHeader"> & React.RefAttributes<any>, "ref"> & React.RefAttributes<any>>;