@canonical/react-components 0.55.0 → 0.56.0

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.
@@ -20,11 +20,11 @@ export type Props = {
20
20
  * An optional key to be used to track which section is selected.
21
21
  */
22
22
  sectionKey?: string;
23
- setExpanded?: (key: string | null, title: string | null) => void;
23
+ setExpanded?: (key: string | null, title: ReactNode | null) => void;
24
24
  /**
25
25
  * The title of the section.
26
26
  */
27
- title?: string;
27
+ title?: ReactNode;
28
28
  /**
29
29
  * Optional string describing heading element that should be used for the section titles.
30
30
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonical/react-components",
3
- "version": "0.55.0",
3
+ "version": "0.56.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "author": "Huw Wilkins <huw.wilkins@canonical.com>",