UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

10 lines (9 loc) 499 B
import type { PropsFor } from "../../types.js"; export type TableCellProps = PropsFor<"td", { /** adds a border to the right of the cell */ rightBorder?: boolean; /** if passed, sets cursor to pointer */ onClick?: (event: React.MouseEvent<HTMLTableCellElement> | React.KeyboardEvent<HTMLTableCellElement>) => void; }>; declare const TableCell: import("react").ForwardRefExoticComponent<TableCellProps & import("react").RefAttributes<HTMLTableCellElement>>; export default TableCell;