@react-md/table
Version:
Create responsive data tables and accessible fixed tables
20 lines (19 loc) • 756 B
TypeScript
import type { HTMLAttributes } from "react";
import type { TableRowConfiguration } from "./config";
export interface TableRowProps extends HTMLAttributes<HTMLTableRowElement>, TableRowConfiguration {
/**
* Boolean if the current row has been selected and should apply the selected
* background-color.
*/
selected?: boolean;
/**
* Boolean if the row should be clickable and update the cursor while hovered
* to be a pointer.
*/
clickable?: boolean;
}
/**
* Creates a `<tr>` element with some general styles that are inherited from the
* base table configuration.
*/
export declare const TableRow: import("react").ForwardRefExoticComponent<TableRowProps & import("react").RefAttributes<HTMLTableRowElement>>;