"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const core_1 = require("@material-ui/core");
const material_table_1 = require("material-table");
const components = {
    Actions: props => (react_1.default.createElement(core_1.Box, { display: "flex", justifyContent: "center", flex: 1 },
        react_1.default.createElement(material_table_1.MTableActions, Object.assign({}, props)))),
    Action: (props) => {
        var _a;
        return (react_1.default.createElement(material_table_1.MTableAction, Object.assign({}, props, { size: ((_a = props.action) === null || _a === void 0 ? void 0 : _a.isFreeAction) ? 'medium' : 'small' })));
    },
};
exports.default = components;
