@muraldevkit/ui-toolkit 2.51.0 → 2.51.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,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { AttrsObject } from '../../../utils';
|
|
3
3
|
import { NotificationKind, NotificationIconConfig, NotificationScope, NotificationState, NotificationLevel } from '../constants';
|
|
4
4
|
import { DSIconType } from '../../';
|
|
@@ -15,11 +15,11 @@ export interface MrlBlockNotificationProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* Children
|
|
17
17
|
*/
|
|
18
|
-
children?:
|
|
18
|
+
children?: ReactNode;
|
|
19
19
|
/**
|
|
20
20
|
* Adds CTA button to the notification
|
|
21
21
|
*/
|
|
22
|
-
cta?:
|
|
22
|
+
cta?: ReactElement;
|
|
23
23
|
/**
|
|
24
24
|
* The kind of notification to display.
|
|
25
25
|
*
|
|
@@ -41,7 +41,7 @@ export interface MrlBlockNotificationProps {
|
|
|
41
41
|
/**
|
|
42
42
|
* Sets the primary content for the notification
|
|
43
43
|
*/
|
|
44
|
-
message?:
|
|
44
|
+
message?: ReactNode;
|
|
45
45
|
/**
|
|
46
46
|
* Sets the scope of the notification
|
|
47
47
|
*/
|
|
@@ -80,4 +80,4 @@ export interface MrlBlockNotificationProps {
|
|
|
80
80
|
* @param props - Component props
|
|
81
81
|
* @returns {Element} Block Notification
|
|
82
82
|
*/
|
|
83
|
-
export declare const MrlBlockNotification:
|
|
83
|
+
export declare const MrlBlockNotification: (props: MrlBlockNotificationProps) => JSX.Element;
|