@yamada-ui/use-disclosure
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -31,3 +31,5 @@ "use strict"; | ||
var _a; | ||
const [defaultIsOpen, setIsOpen] = (0, import_react.useState)((_a = props.defaultIsOpen) != null ? _a : false); | ||
const [defaultIsOpen, setIsOpen] = (0, import_react.useState)( | ||
(_a = props.defaultIsOpen) != null ? _a : false | ||
); | ||
const handleOpen = (0, import_utils.useCallbackRef)(props.onOpen); | ||
@@ -34,0 +36,0 @@ const handleClose = (0, import_utils.useCallbackRef)(props.onClose); |
{ | ||
"name": "@yamada-ui/use-disclosure", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Yamada UI useDisclosure custom hook", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/utils": "0.1.3" | ||
"@yamada-ui/utils": "0.1.4" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
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
8595
151
+ Added@yamada-ui/utils@0.1.4(transitive)
- Removed@yamada-ui/utils@0.1.3(transitive)
Updated@yamada-ui/utils@0.1.4