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) 810 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { PropsWithChildren, TdHTMLAttributes } from 'react'; export declare const tableCellAlignOptions: readonly ["center", "end"]; type TableCellAlign = (typeof tableCellAlignOptions)[number]; export type TableCellProps = { /** The horizontal alignment of the cell’s content. */ align?: TableCellAlign; } & PropsWithChildren<Omit<TdHTMLAttributes<HTMLTableCellElement>, 'align'>>; export declare const TableCell: import("react").ForwardRefExoticComponent<{ /** The horizontal alignment of the cell’s content. */ align?: TableCellAlign; } & Omit<TdHTMLAttributes<HTMLTableCellElement>, "align"> & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes<HTMLTableCellElement>>; export {};