import cn from 'classnames'; import { Button } from 'UI'; import stl from './table.css'; export default class Table extends React.PureComponent { state = { showAll: false }; onLoadMoreClick = () => { this.setState({ showAll: true }); } render() { const { cols, rows = [], rowProps, rowClass = '', small = false, compare = false } = this.props; const { showAll } = this.state; return (