diff --git a/packages/semantic-ui/src/components/EmbeddedList.js b/packages/semantic-ui/src/components/EmbeddedList.js index aa3ac536..7ff1ae71 100644 --- a/packages/semantic-ui/src/components/EmbeddedList.js +++ b/packages/semantic-ui/src/components/EmbeddedList.js @@ -24,7 +24,12 @@ type Props = DataTableProps & ColumnSelectorProps & { /** * Callback fired when a table row is dragged. */ - onDrag?: (dragIndex: number, hoverIndex: number) => void + onDrag?: (dragIndex: number, hoverIndex: number) => void, + + /** + * Props to apply to the underlying Table component. + */ + tableProps?: any }; type State = { @@ -178,7 +183,8 @@ class EmbeddedList extends Component { sortDirection={this.state.sortDirection} tableProps={{ celled: true, - sortable: !this.props.onDrag + sortable: !this.props.onDrag, + ...(this.props.tableProps || {}) }} selectable={this.props.selectable} onRowSelect={this.props.onRowSelect}