diff --git a/src/components/basic_table/in_memory_table.js b/src/components/basic_table/in_memory_table.js index 04d9a8243e2..8daf220dfbb 100644 --- a/src/components/basic_table/in_memory_table.js +++ b/src/components/basic_table/in_memory_table.js @@ -56,7 +56,9 @@ const InMemoryTablePropTypes = { }) ]), selection: SelectionType, - itemId: ItemIdType + itemId: ItemIdType, + rowProps: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), + cellProps: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), }; const getInitialQuery = (search) => { @@ -271,6 +273,8 @@ export class EuiInMemoryTable extends Component { sorting: hasSorting, itemIdToExpandedRowMap, itemId, + rowProps, + cellProps, items: _unuseditems, // eslint-disable-line no-unused-vars search, // eslint-disable-line no-unused-vars ...rest @@ -310,6 +314,8 @@ export class EuiInMemoryTable extends Component {