@muraldevkit/ui-toolkit 2.88.1 → 2.89.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.
|
@@ -19,9 +19,13 @@ export interface MrlInlineMessageProps {
|
|
|
19
19
|
*/
|
|
20
20
|
kind: InlineMessageKind;
|
|
21
21
|
/**
|
|
22
|
-
* The text to be displayed in the notification.
|
|
22
|
+
* The text to be displayed in the notification. If not provided, children will be used.
|
|
23
23
|
*/
|
|
24
|
-
message
|
|
24
|
+
message?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Children to be rendered within the component, it will be used as the message if message is not provided.
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
25
29
|
/**
|
|
26
30
|
* The data-qa attribute for testing purposes.
|
|
27
31
|
*/
|
|
@@ -33,4 +37,4 @@ export interface MrlInlineMessageProps {
|
|
|
33
37
|
* @param props - The properties of the component.
|
|
34
38
|
* @returns A React component.
|
|
35
39
|
*/
|
|
36
|
-
export declare const MrlInlineMessage: ({ customIcon, id, kind, message, ["data-qa"]: qa }: MrlInlineMessageProps) => React.ReactElement;
|
|
40
|
+
export declare const MrlInlineMessage: ({ children, customIcon, id, kind, message, ["data-qa"]: qa }: MrlInlineMessageProps) => React.ReactElement;
|