dce-reactkit 3.7.14 → 3.7.15

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.
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  type Props = {
7
- label: string;
7
+ label: React.ReactNode;
8
8
  minLabelWidth?: string;
9
9
  children: React.ReactNode;
10
10
  className?: string;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  type Props = {
7
- label: string;
7
+ label: React.ReactNode;
8
8
  minLabelWidth?: string;
9
9
  children: React.ReactNode;
10
10
  className?: string;
package/dist/index.d.ts CHANGED
@@ -244,7 +244,7 @@ declare const CheckboxButton: React$1.FC<Props$g>;
244
244
  */
245
245
 
246
246
  type Props$f = {
247
- label: string;
247
+ label: React$1.ReactNode;
248
248
  minLabelWidth?: string;
249
249
  children: React$1.ReactNode;
250
250
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.7.14",
3
+ "version": "3.7.15",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -13,7 +13,7 @@ import React from 'react';
13
13
  // Props definition
14
14
  type Props = {
15
15
  // Label text
16
- label: string,
16
+ label: React.ReactNode,
17
17
  // Minimum width of the label (css units)
18
18
  minLabelWidth?: string,
19
19
  // Buttons