Add copy cell option in network plugin
Summary: Puts a context menu in the sidebar for the network plugin. Before, user was not able to select the text from sidebar Reviewed By: passy Differential Revision: D18808544 fbshipit-source-id: bdbc86972cd1d508e9b7d96da9df5c8e53bec991
This commit is contained in:
committed by
Facebook Github Bot
parent
d37c64c329
commit
e1e2978b19
@@ -615,6 +615,10 @@ export class ManagedTable extends React.Component<
|
|||||||
.filter(notNull);
|
.filter(notNull);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<ContextMenu
|
||||||
|
buildItems={
|
||||||
|
this.props.buildContextMenuItems || this.buildContextMenuItems
|
||||||
|
}>
|
||||||
<TableRow
|
<TableRow
|
||||||
key={rows[index].key}
|
key={rows[index].key}
|
||||||
columnSizes={columnSizes}
|
columnSizes={columnSizes}
|
||||||
@@ -632,6 +636,7 @@ export class ManagedTable extends React.Component<
|
|||||||
onAddFilter={onAddFilter}
|
onAddFilter={onAddFilter}
|
||||||
zebra={zebra}
|
zebra={zebra}
|
||||||
/>
|
/>
|
||||||
|
</ContextMenu>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user