import React from 'react'; import PropTypes from 'prop-types'; import { pick, extend, defaults, map, partial, toInteger, isNumber } from 'lodash'; import { defaultTableRowRenderer, Table, InfiniteLoader, AutoSizer, Column } from 'react-virtualized'; import { action, computed, observable, autorun } from 'mobx'; import { observer } from 'mobx-react'; import { autobind } from 'core-decorators'; import cn from 'classnames'; import 'react-virtualized/styles.css'; import NextIcon from 'grommet/components/icons/base/CaretNext'; import Button from 'grommet/components/Button'; import ActivityOverlay from './network-activity-overlay'; import './data-table/table-styles.scss'; import Query from '../models/query'; import HeaderCell from './data-table/header-cell'; function renderEditTriangle({ rowIndex, columnData: { onEdit } }) { return (