Search: Improve tab navigation (#48932)

This commit is contained in:
kay delaney
2022-05-12 12:41:20 +01:00
committed by GitHub
parent 58fa119270
commit c8a0e52a59
3 changed files with 15 additions and 24 deletions

View File

@@ -10,9 +10,10 @@ export interface Props {
onCellFilterAdded?: TableFilterActionCallback;
columnIndex: number;
columnCount: number;
userProps?: object;
}
export const TableCell: FC<Props> = ({ cell, tableStyles, onCellFilterAdded, columnIndex, columnCount }) => {
export const TableCell: FC<Props> = ({ cell, tableStyles, onCellFilterAdded, columnIndex, columnCount, userProps }) => {
const cellProps = cell.getCellProps();
const field = (cell.column as any as GrafanaTableColumn).field;
@@ -38,5 +39,6 @@ export const TableCell: FC<Props> = ({ cell, tableStyles, onCellFilterAdded, col
onCellFilterAdded,
cellProps,
innerWidth,
userProps,
}) as React.ReactElement;
};