import { Icons } from "../icons/icons.extend";
import React, { useContext } from "react";
import { Button, LangContext, Modal } from "v-eris";
export var TypeRemove = function (props) {
    var lang = useContext(LangContext);
    return (React.createElement(Modal, { className: "settings-type-table-modal", attach: true, margin: { y: 10 }, snap: { x: 0.5, y: 0.0 }, auto: false, trigger: props.isText ?
            (React.createElement(Button, { danger: true }, lang.get("Remove")))
            :
                (React.createElement(Button, null,
                    React.createElement(Icons.bin2, null))) },
        React.createElement(Button, { danger: true, onClick: props.onClick }, lang.get("RemoveLine?"))));
};
//# sourceMappingURL=types.remove.js.map