@uiw/react-alert
Advanced tools
Comparing version 4.21.19 to 4.21.20
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"]; | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -9,23 +8,16 @@ value: true | ||
exports["default"] = void 0; | ||
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2")); | ||
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties")); | ||
var _react = _interopRequireDefault(require("react")); | ||
var _reactModal = _interopRequireDefault(require("@uiw/react-modal")); | ||
var _jsxRuntime = require("react/jsx-runtime"); | ||
var _excluded = ["prefixCls", "className", "width"]; | ||
var _default = function _default() { | ||
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
var _props$prefixCls = props.prefixCls, | ||
prefixCls = _props$prefixCls === void 0 ? 'w-alert' : _props$prefixCls, | ||
className = props.className, | ||
_props$width = props.width, | ||
width = _props$width === void 0 ? 400 : _props$width, | ||
other = (0, _objectWithoutProperties2["default"])(props, _excluded); | ||
prefixCls = _props$prefixCls === void 0 ? 'w-alert' : _props$prefixCls, | ||
className = props.className, | ||
_props$width = props.width, | ||
width = _props$width === void 0 ? 400 : _props$width, | ||
other = (0, _objectWithoutProperties2["default"])(props, _excluded); | ||
var cls = [prefixCls, className].filter(Boolean).join(' ').trim(); | ||
@@ -38,5 +30,4 @@ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactModal["default"], (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, other), {}, { | ||
}; | ||
exports["default"] = _default; | ||
module.exports = exports.default; | ||
//# sourceMappingURL=index.js.map |
@@ -12,10 +12,8 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
} | ||
var { | ||
prefixCls = 'w-alert', | ||
className, | ||
width = 400 | ||
} = props, | ||
other = _objectWithoutPropertiesLoose(props, _excluded); | ||
prefixCls = 'w-alert', | ||
className, | ||
width = 400 | ||
} = props, | ||
other = _objectWithoutPropertiesLoose(props, _excluded); | ||
var cls = [prefixCls, className].filter(Boolean).join(' ').trim(); | ||
@@ -22,0 +20,0 @@ return /*#__PURE__*/_jsx(Modal, _extends({}, other, { |
{ | ||
"name": "@uiw/react-alert", | ||
"version": "4.21.19", | ||
"version": "4.21.20", | ||
"description": "Alert component", | ||
@@ -47,5 +47,5 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/react-modal": "^4.21.19", | ||
"@uiw/utils": "^4.21.19" | ||
"@uiw/react-modal": "^4.21.20", | ||
"@uiw/utils": "^4.21.20" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29985
Updated@uiw/react-modal@^4.21.20
Updated@uiw/utils@^4.21.20