@movable/ui 4.2.0 → 4.2.1

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.
@@ -1,4 +1,5 @@
1
1
  import { ButtonProps } from '@mui/material';
2
+ import type { ReactNode } from 'react';
2
3
  type PrimaryButtonType = ButtonProps & {
3
4
  label: string;
4
5
  loading?: boolean;
@@ -11,7 +12,7 @@ type ActionButtonPropType = {
11
12
  close?: closeButtonType;
12
13
  };
13
14
  type InkWorkflowHeaderProps = {
14
- label: string;
15
+ label: ReactNode;
15
16
  Stepper?: JSX.Element;
16
17
  ButtonGroup?: JSX.Element | ActionButtonPropType;
17
18
  subtitle?: string;
package/lib/index.d.ts CHANGED
@@ -1192,7 +1192,7 @@ export declare class InkWorkflowHeaderPageObject {
1192
1192
  }
1193
1193
 
1194
1194
  declare type InkWorkflowHeaderProps = {
1195
- label: string;
1195
+ label: ReactNode;
1196
1196
  Stepper?: JSX.Element;
1197
1197
  ButtonGroup?: JSX.Element | ActionButtonPropType;
1198
1198
  subtitle?: string;