@react-stately/disclosure
Advanced tools
Comparing version 3.0.0-nightly-a626c2596-240926 to 3.0.0-nightly-d57bd8d90-240927
@@ -45,4 +45,8 @@ import { Expandable, Key } from "@react-types/shared"; | ||
} | ||
/** | ||
* Manages state for a group of disclosures, e.g. an accordion. | ||
* It supports both single and multiple expanded items. | ||
*/ | ||
export function useDisclosureGroupState(props: DisclosureGroupProps): DisclosureGroupState; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@react-stately/disclosure", | ||
"version": "3.0.0-nightly-a626c2596-240926", | ||
"version": "3.0.0-nightly-d57bd8d90-240927", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,4 +25,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-stately/utils": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-types/shared": "^3.0.0-nightly-a626c2596-240926", | ||
"@react-stately/utils": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@react-types/shared": "^3.0.0-nightly-d57bd8d90-240927", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -29,0 +29,0 @@ }, |
@@ -41,2 +41,6 @@ /* | ||
/** | ||
* Manages state for a group of disclosures, e.g. an accordion. | ||
* It supports both single and multiple expanded items. | ||
*/ | ||
export function useDisclosureGroupState(props: DisclosureGroupProps): DisclosureGroupState { | ||
@@ -43,0 +47,0 @@ let {allowsMultipleExpanded = false, isDisabled = false} = props; |
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
42043
507