UNPKG

@react-md/table

Version:

Create responsive data tables and accessible fixed tables

23 lines (22 loc) 1.1 kB
import type { HTMLAttributes } from "react"; import type { TableCellConfig } from "./config"; export interface TableFooterProps extends HTMLAttributes<HTMLTableSectionElement>, Pick<TableCellConfig, "lineWrap"> { /** * This is a rename of the `disableHover` of the `TableConfig` since table * footers are not hoverable by default. This prop can be enabled to add the * row hover color within table footers, but it is not really recommended. */ hoverable?: boolean; /** * Boolean if the footer should be rendered as a sticky footer that will cover * the table contents as the page or `TableContainer` is scrolled. */ sticky?: boolean; } /** * Creates a `<tfoot>` element with some basic styles. This component will * disable the hover effect and line wrapping by default, but the hover effect * and line-wrapping can be re-enabled if desired through the `hoverable` and * `disableNoWrap` props. */ export declare const TableFooter: import("react").ForwardRefExoticComponent<TableFooterProps & import("react").RefAttributes<HTMLTableSectionElement>>;