@yamada-ui/use-disclosure
Advanced tools
Comparing version 0.0.0-dev-20230716195657 to 0.0.0-dev-20230718011629
@@ -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.0.0-dev-20230716195657", | ||
"version": "0.0.0-dev-20230718011629", | ||
"description": "Yamada UI useDisclosure custom hook", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/utils": "0.0.0-dev-20230716195657" | ||
"@yamada-ui/utils": "0.0.0-dev-20230718011629" | ||
}, | ||
@@ -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
8633
151
+ Added@yamada-ui/utils@0.0.0-dev-20230718011629(transitive)
- Removed@yamada-ui/utils@0.0.0-dev-20230716195657(transitive)