UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

19 lines (18 loc) 826 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { PropsWithChildren, ThHTMLAttributes } from 'react'; import type { tableCellAlignOptions } from './TableCell'; type TableHeaderCellAlign = (typeof tableCellAlignOptions)[number]; export type TableHeaderCellProps = { /** The horizontal alignment of the cell’s content. */ align?: TableHeaderCellAlign; } & PropsWithChildren<Omit<ThHTMLAttributes<HTMLTableCellElement>, 'align'>>; export declare const TableHeaderCell: import("react").ForwardRefExoticComponent<{ /** The horizontal alignment of the cell’s content. */ align?: TableHeaderCellAlign; } & Omit<ThHTMLAttributes<HTMLTableCellElement>, "align"> & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLTableCellElement>>; export {};