@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
16 lines (15 loc) • 657 B
TypeScript
import React from "react";
type DataTableThProps = React.HTMLAttributes<HTMLTableCellElement> & {
resizeHandler?: React.MouseEventHandler<HTMLButtonElement>;
isPinned?: boolean;
pinningHandler?: React.MouseEventHandler<HTMLButtonElement>;
size?: number;
};
declare const DataTableTh: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCellElement> & {
resizeHandler?: React.MouseEventHandler<HTMLButtonElement>;
isPinned?: boolean;
pinningHandler?: React.MouseEventHandler<HTMLButtonElement>;
size?: number;
} & React.RefAttributes<HTMLTableCellElement>>;
export { DataTableTh };
export type { DataTableThProps };