@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
53 lines (52 loc) • 1.99 kB
JavaScript
;
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DeleteDialog = void 0;
var _react = _interopRequireDefault(require("react"));
var _material = require("@mui/material");
var _react2 = require("@iconify/react");
var _styled = require("./styled");
var _jsxRuntime = require("react/jsx-runtime");
var _WrapperContent;
var DeleteDialog = exports.DeleteDialog = function DeleteDialog(props) {
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styled.WrapperDialog, {
children: [_WrapperContent || (_WrapperContent = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styled.WrapperContent, {
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.Icon, {
icon: "clarity:warning-line",
color: "#f25a5a",
width: "100",
height: "100"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styled.Title, {
children: "Estas seguro de esto?"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styled.Description, {
children: "Lo que har\xE1s no tiene vuelta atras en el sistema"
})]
})), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styled.WrapperButtons, {
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styled.Element, {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Button, {
size: "large",
sx: {
fontWeight: 600,
color: '#F25A5A'
},
onClick: props.onClickConfirm,
fullWidth: true,
children: props.textConfirmButton || 'confirm'
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styled.Element, {
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Button, {
size: "large",
sx: {
fontWeight: 600,
color: '#3D3769'
},
onClick: props.onClickCancel,
fullWidth: true,
children: props.textCancelButton || 'cancel'
})
})]
})]
});
};