"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Table = void 0;
const react_1 = __importDefault(require("react"));
const TableBasic_1 = require("./TableBasic");
const TableSubset_1 = require("./TableSubset");
exports.Table = (props) => {
    const TableComponent = props.fetchData ? TableSubset_1.TableSubset : TableBasic_1.TableBasic;
    return react_1.default.createElement(TableComponent, Object.assign({}, props));
};
//# sourceMappingURL=Table.js.map