import * as React from "react"; import { CheckedStatus } from "../Form"; declare type TableContainer = React.FunctionComponent; export declare const TableContainer: TableContainer; declare type TableHeader = React.FunctionComponent; export declare const TableHeader: TableHeader; declare type TableHeaderRow = React.FunctionComponent; export declare const TableHeaderRow: TableHeaderRow; /** * @param width value between 1 and 0, to be calculated as a percentage * @param flex CSS flex shorthand as a string. Be sure to specify the flex grow, * shrink, and basis, due to IE11 compatibility. eg. use "1 1 auto" * instead of just "1". */ declare type TableHeaderRowCell = React.FunctionComponent<{ labelText: string; onClick?: (e: React.MouseEvent) => any; width?: number; flex?: string; icon?: React.SVGAttributes; checkable?: boolean; checkedStatus?: CheckedStatus; onCheck?: (event: React.ChangeEvent) => any; active?: boolean; }>; export declare const TableHeaderRowCell: TableHeaderRowCell; declare type ButtonClickEvent = (e: React.MouseEvent) => void; declare type AnchorClickEvent = (e: React.MouseEvent) => void; declare type TableCard = React.FunctionComponent<{ onClick?: ButtonClickEvent | AnchorClickEvent; expanded?: boolean; expandedStyle?: "well" | "popout"; href?: string; forceHoverState?: boolean; }>; export declare const TableCard: TableCard; declare type TableRow = React.FunctionComponent; export declare const TableRow: TableRow; /** * @param width value between 1 and 0, to be calculated as a percentage * @param flex CSS flex shorthand as a string. Be sure to specify the flex grow, * shrink, and basis, due to IE11 compatibility. eg. use "1 1 auto" * instead of just "1". */ declare type TableRowCell = React.FunctionComponent<{ width?: number; flex?: string; }>; export declare const TableRowCell: TableRowCell; export {};