UNPKG

@docsvision/webclient

Version:

Type definitions for DocsVision WebClient scripts and extensions.

42 lines (41 loc) 1.42 kB
import React from "react"; /** @internal */ export interface ITableRowHelperProps { className?: string; style?: React.CSSProperties; /** Children tags, created by TableRowCell */ children?: React.ReactNode; /** Highlight row as selected. Default value: false */ selected?: boolean; /** Fix row height to 50px. Default value: true */ standardHeight?: boolean; key?: string; /** Value of data-row-name attribute for autotesting purposes */ name?: string; innerRef?: (HTMLElement: any) => void; onClick?: (ev: React.MouseEvent) => void; id?: string; dataTestName?: string; customAttributes?: { [key: string]: unknown; }; } /** @internal */ export interface ITableRowCellHelperProps { /** Width in percent, pixel, as css calc() etc. */ width?: string; style?: React.CSSProperties; minWidth?: string; maxWidth?: string; className?: string; onClick?: (ev: React.MouseEvent) => void; tabIndex?: number; onKeyDown?: (ev: React.KeyboardEvent) => void; /** React.ReactNode that repersents cell content */ children?: React.ReactNode; key?: string; } /** @internal */ export declare const TableHelperRow: (props: ITableRowHelperProps) => JSX.Element; /** @internal */ export declare const TableHelperCell: React.ForwardRefExoticComponent<ITableRowCellHelperProps & React.RefAttributes<HTMLDivElement>>;