@canonical/react-components 3.4.1 → 3.4.2

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.
@@ -24,7 +24,7 @@ export type Props = PropsWithSpread<{
24
24
  /**
25
25
  * Optional class(es) to pass to the help text element.
26
26
  */
27
- helpClassName?: ReactNode;
27
+ helpClassName?: string;
28
28
  /**
29
29
  * The id of the input.
30
30
  */
@@ -90,7 +90,7 @@ const Input = _ref => {
90
90
  error: error,
91
91
  forId: inputId,
92
92
  help: help,
93
- helpClassName: helpClassName + "",
93
+ helpClassName: helpClassName,
94
94
  helpId: helpId,
95
95
  isTickElement: type === "checkbox" || type === "radio",
96
96
  label: fieldLabel,
@@ -24,7 +24,7 @@ export type Props = PropsWithSpread<{
24
24
  /**
25
25
  * Optional class(es) to pass to the help text element.
26
26
  */
27
- helpClassName?: ReactNode;
27
+ helpClassName?: string;
28
28
  /**
29
29
  * The id of the input.
30
30
  */
@@ -89,7 +89,7 @@ var Input = _ref => {
89
89
  error: error,
90
90
  forId: inputId,
91
91
  help: help,
92
- helpClassName: helpClassName + "",
92
+ helpClassName: helpClassName,
93
93
  helpId: helpId,
94
94
  isTickElement: type === "checkbox" || type === "radio",
95
95
  label: fieldLabel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonical/react-components",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "author": {