import * as React from 'react'; import { ITableRowProps } from '../table'; import { IDataTableCellData, IDataTableColumn, IDataTableColumnRenderable } from './data-table-types'; export interface IDataTableRowProps extends ITableRowProps { /** The item */ item: ItemType; /** index of the item */ index: number; /** Show row highlight on hover */ hover?: boolean; /** column information */ columns: Array | null | undefined | false>; /** A function that will be called when a row is clicked. */ onRowClick?(event: React.MouseEvent, item: IDataTableCellData): void; /** If passed items will be rendered with a collapsable container. */ renderItemDetails?(item: ItemType): React.ReactNode; /** If passed will call to return a custom row component */ componentRenderer?(item: ItemType, index: number): React.ElementType; } export declare const isRenderableColumn: (column: IDataTableColumn) => column is IDataTableColumnRenderable; export declare function DataTableRow(props: IDataTableRowProps): React.JSX.Element;