Allow multi-highlight in db plugin

Summary: Enable highlight of multiple rows so they can be copied

Reviewed By: passy

Differential Revision: D15822749

fbshipit-source-id: 2302ddd27a57574c1eaf1f1395939c9f006ba301
This commit is contained in:
John Knox
2019-06-14 09:10:55 -07:00
committed by Facebook Github Bot
parent 062cbc0dbd
commit 08454c056b

View File

@@ -190,6 +190,7 @@ function renderTable(page: ?Page, component: DatabasesPlugin) {
zebra={true} zebra={true}
rows={page.rows} rows={page.rows}
horizontallyScrollable={true} horizontallyScrollable={true}
multiHighlight={true}
onSort={(sortOrder: TableRowSortOrder) => { onSort={(sortOrder: TableRowSortOrder) => {
component.dispatchAction({ component.dispatchAction({
type: 'SortByChanged', type: 'SortByChanged',