@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
14 lines (13 loc) • 571 B
TypeScript
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;
}>;
/**
* Table.Cell component (td element)
* @visibleName Table.Cell
*/
declare const TableCell: import("react").ForwardRefExoticComponent<TableCellProps & import("react").RefAttributes<HTMLTableCellElement>>;
export default TableCell;