@dbcdk/react-components 0.0.160 → 0.0.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,13 +13,12 @@ export interface CollapsibleHeadlineProps extends Omit<HeadlineProps, 'addition'
|
|
|
13
13
|
addition?: React.ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* When set in uncontrolled mode, the component persists its expanded
|
|
16
|
-
* state to localStorage under this key.
|
|
17
|
-
* collapsed to stay hydration-safe.
|
|
16
|
+
* state to localStorage under this key.
|
|
18
17
|
*/
|
|
19
18
|
storageKey?: string;
|
|
20
19
|
/**
|
|
21
20
|
* Initial expanded state when uncontrolled and no persisted storageKey
|
|
22
|
-
* value exists yet. Defaults to
|
|
21
|
+
* value exists yet. Defaults to true.
|
|
23
22
|
*/
|
|
24
23
|
defaultExpanded?: boolean;
|
|
25
24
|
}
|