"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Table = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const TableBasic_1 = require("./TableBasic");
const TableSubset_1 = require("./TableSubset");
const Table = (props) => {
    const { fetchData } = props;
    const TableComponent = fetchData ? TableSubset_1.TableSubset : TableBasic_1.TableBasic;
    return (0, jsx_runtime_1.jsx)(TableComponent, Object.assign({}, props), void 0);
};
exports.Table = Table;
//# sourceMappingURL=Table.js.map