UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

103 lines (102 loc) 3.38 kB
import React from 'react'; import { StandardProps } from '../../util/component-types'; export interface IScrollTableProps extends StandardProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> { /** Set the width of the Table inside the scrollable container. */ tableWidth?: number | string; /** Set the Table contents to not allow word wrapping. */ hasWordWrap: boolean; /** render the table with borders on the outer edge. */ hasBorder: boolean; } export declare const ScrollTable: { (props: IScrollTableProps): React.ReactElement; defaultProps: { hasWordWrap: boolean; hasBorder: boolean; }; displayName: string; peek: { description: string; categories: string[]; madeFrom: string[]; }; Thead: { (props: import("../../util/component-types").Overwrite<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, import("../Table/Table").ITheadPropsRaw>): JSX.Element; displayName: string; peek: { description: string; }; propTypes: { className: any; children: any; }; }; Tbody: { (props: import("../../util/component-types").Overwrite<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, import("../Table/Table").ITBodyPropsRaw>): JSX.Element; displayName: string; peek: { description: string; }; propTypes: { className: any; children: any; }; }; Tr: { (props: import("../../util/component-types").Overwrite<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, import("../Table/Table").ITrPropsRaw>): JSX.Element; defaultProps: { isDisabled: boolean; isSelected: boolean; isActive: boolean; }; displayName: string; peek: { description: string; }; propTypes: { children: any; className: any; isDisabled: any; isSelected: any; isActive: any; }; }; Th: typeof import("../Table/Table").Th; Td: { (props: import("../Table/Table").ITdProps): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>; displayName: string; defaultProps: { align: string; hasBorderRight: boolean; hasBorderLeft: boolean; rowSpan: number; }; peek: { description: string; categories: never[]; madeFrom: never[]; }; propTypes: { align: any; className: any; hasBorderRight: any; hasBorderLeft: any; isFirstRow: any; isLastRow: any; isFirstCol: any; isLastCol: any; isFirstSingle: any; isEmpty: any; truncateContent: any; }; }; propTypes: { children: any; className: any; style: any; tableWidth: any; hasWordWrap: any; hasBorder: any; }; }; export default ScrollTable;