UNPKG

968 BTypeScriptView Raw
1import * as React from "react";
2import { AbstractPureComponent2, IElementRefProps } from "../../common";
3export declare type HTMLTableProps = IHTMLTableProps;
4/** @deprecated use HTMLTableProps */
5export interface IHTMLTableProps extends React.TableHTMLAttributes<HTMLTableElement>, IElementRefProps<HTMLTableElement> {
6 /** Enable borders between rows and cells. */
7 bordered?: boolean;
8 /** Use compact appearance with less padding. */
9 compact?: boolean;
10 /**
11 * Use small, condensed appearance.
12 *
13 * @deprecated use `compact` instead
14 */
15 condensed?: boolean;
16 /** Enable hover styles on rows. */
17 interactive?: boolean;
18 /** Use an alternate background color on odd-numbered rows. */
19 striped?: boolean;
20}
21/**
22 * HTML table component.
23 *
24 * @see https://blueprintjs.com/docs/#core/components/html-table
25 */
26export declare class HTMLTable extends AbstractPureComponent2<HTMLTableProps> {
27 render(): JSX.Element;
28}