"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TypeRemove = void 0;
var tslib_1 = require("tslib");
var icons_extend_1 = require("../icons/icons.extend");
var react_1 = tslib_1.__importStar(require("react"));
var v_eris_1 = require("v-eris");
var TypeRemove = function (props) {
    var lang = (0, react_1.useContext)(v_eris_1.LangContext);
    return (react_1.default.createElement(v_eris_1.Modal, { className: "settings-type-table-modal", attach: true, margin: { y: 10 }, snap: { x: 0.5, y: 0.0 }, auto: false, trigger: props.isText ?
            (react_1.default.createElement(v_eris_1.Button, { danger: true }, lang.get("Remove")))
            :
                (react_1.default.createElement(v_eris_1.Button, null,
                    react_1.default.createElement(icons_extend_1.Icons.bin2, null))) },
        react_1.default.createElement(v_eris_1.Button, { danger: true, onClick: props.onClick }, lang.get("RemoveLine?"))));
};
exports.TypeRemove = TypeRemove;
//# sourceMappingURL=types.remove.js.map