import React from "react";
import PropTypes from "prop-types";

// eslint-disable-next-line prefer-stateless-function
const GriddleCustomTableComponent = OriginalComponent => class CustomTableComponent extends React.Component {
    static contextTypes = {
      components: PropTypes.object
    }

    render() {
      return <this.context.components.TableBody />
    }
  }

export default GriddleCustomTableComponent
