@uiw/react-overlay
Advanced tools
Comparing version 4.18.1 to 4.19.0
@@ -70,7 +70,8 @@ "use strict"; | ||
var _useState = (0, _react.useState)(props.isOpen || false), | ||
var _useState = (0, _react.useState)(), | ||
_useState2 = (0, _slicedToArray2["default"])(_useState, 2), | ||
isOpen = _useState2[0], | ||
setIsOpen = _useState2[1]; | ||
setIsOpen = _useState2[1]; // const [isOpen, setIsOpen] = useState(props.isOpen || false); | ||
var _useState3 = (0, _react.useState)(false), | ||
@@ -77,0 +78,0 @@ _useState4 = (0, _slicedToArray2["default"])(_useState3, 2), |
@@ -49,3 +49,4 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
var [isOpen, setIsOpen] = useState(props.isOpen || false); | ||
var [isOpen, setIsOpen] = useState(); // const [isOpen, setIsOpen] = useState(props.isOpen || false); | ||
var [visible, setVisible] = useState(false); | ||
@@ -52,0 +53,0 @@ var container = useRef(null); |
{ | ||
"name": "@uiw/react-overlay", | ||
"version": "4.18.1", | ||
"version": "4.19.0", | ||
"description": "Overlay component", | ||
@@ -47,6 +47,6 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/react-portal": "^4.18.1", | ||
"@uiw/utils": "^4.18.1", | ||
"@uiw/react-portal": "^4.19.0", | ||
"@uiw/utils": "^4.19.0", | ||
"react-transition-group": "~4.4.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
66768
765
Updated@uiw/react-portal@^4.19.0
Updated@uiw/utils@^4.19.0