id: string;
contextActions: ContextMenuActionGroup[];
onRowClick: (item: any) => void;
+ onRowDoubleClick: (item: any) => void;
onContextAction: (action: ContextMenuAction, item: any) => void;
}
const mapStateToProps = (state: RootState, { id, contextActions }: Props) =>
getDataExplorer(state.dataExplorer, id);
-const mapDispatchToProps = (dispatch: Dispatch, { id, contextActions, onRowClick, onContextAction }: Props) => ({
+const mapDispatchToProps = (dispatch: Dispatch, { id, contextActions, onRowClick, onRowDoubleClick, onContextAction }: Props) => ({
onSearch: (searchValue: string) => {
dispatch(actions.SET_SEARCH_VALUE({ id, searchValue }));
},
onRowClick,
+ onRowDoubleClick,
+
onContextAction
});