"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),t=require("lucide-react"),d=require("../../styles/ScopeTree.module.css.js");exports.TreeAddAction=function(i){var r=i.label,a=i.onAdd,l=i.disabled,o=void 0!==l&&l,c=i.tooltip;return s.jsxs("button",e.__assign({className:"".concat(d.default.addAction," ").concat(o?d.default.disabled:""),onClick:o?void 0:a,disabled:o,title:c,style:o?{opacity:.5,cursor:"not-allowed"}:{}},{children:[s.jsx("span",e.__assign({className:d.default.addIcon},{children:s.jsx(t.Plus,{size:16,strokeWidth:2.5})})),r]}))};
//# sourceMappingURL=TreeAddAction.js.map
