import { Accessibility, GridRowBehaviorProps } from '@fluentui/accessibility'; import { ComponentWithAs } from '@fluentui/react-bindings'; import { FluentComponentStaticProps, ShorthandCollection, ComponentEventHandler } from '../../types'; import { UIComponentProps } from '../../utils'; import { TableCellProps } from './TableCell'; export interface TableRowProps extends UIComponentProps { /** * Accessibility behavior if overridden by the user. * */ accessibility?: Accessibility; /** * Row cells */ items?: ShorthandCollection; /** * Is the row a table header */ header?: boolean; /** * Render table in compact mode */ compact?: boolean; /** * Whether a row is currently selected or not. */ selected?: boolean; /** * Called on click. * * @param event - React's original SyntheticEvent. * @param data - All props. */ onClick?: ComponentEventHandler; } export declare const tableRowClassName = "ui-table__row"; export declare type TableRowStylesProps = Pick; /** * Component represents a single row in a tabular structure */ export declare const TableRow: ComponentWithAs<'div', TableRowProps> & FluentComponentStaticProps;