@@ -336,7 +336,7 @@ export interface ToastNotificationProps extends HTMLAttributes<HTMLDivElement> {
336
336
/**
337
337
* Specify what state the notification represents
338
338
*/
339
- kind :
339
+ kind ? :
340
340
| 'error'
341
341
| 'info'
342
342
| 'info-square'
@@ -357,13 +357,13 @@ export interface ToastNotificationProps extends HTMLAttributes<HTMLDivElement> {
357
357
/**
358
358
* Provide a function that is called when the close button is clicked
359
359
*/
360
- onCloseButtonClick ( event : MouseEvent ) : void ;
360
+ onCloseButtonClick ? ( event : MouseEvent ) : void ;
361
361
362
362
/**
363
363
* By default, this value is "status". You can also provide an alternate
364
364
* role if it makes sense from the accessibility-side
365
365
*/
366
- role : 'alert' | 'log' | 'status' ;
366
+ role ? : 'alert' | 'log' | 'status' ;
367
367
368
368
/**
369
369
* Provide a description for "status" icon that can be read by screen readers
@@ -612,7 +612,7 @@ export interface InlineNotificationProps
612
612
/**
613
613
* Specify what state the notification represents
614
614
*/
615
- kind :
615
+ kind ? :
616
616
| 'error'
617
617
| 'info'
618
618
| 'info-square'
@@ -633,13 +633,13 @@ export interface InlineNotificationProps
633
633
/**
634
634
* Provide a function that is called when the close button is clicked
635
635
*/
636
- onCloseButtonClick ( event : MouseEvent ) : void ;
636
+ onCloseButtonClick ? ( event : MouseEvent ) : void ;
637
637
638
638
/**
639
639
* By default, this value is "status". You can also provide an alternate
640
640
* role if it makes sense from the accessibility-side.
641
641
*/
642
- role : 'alert' | 'log' | 'status' ;
642
+ role ? : 'alert' | 'log' | 'status' ;
643
643
644
644
/**
645
645
* Provide a description for "status" icon that can be read by screen readers
@@ -859,7 +859,7 @@ export interface ActionableNotificationProps
859
859
/**
860
860
* Specify what state the notification represents
861
861
*/
862
- kind :
862
+ kind ? :
863
863
| 'error'
864
864
| 'info'
865
865
| 'info-square'
@@ -886,7 +886,7 @@ export interface ActionableNotificationProps
886
886
/**
887
887
* Provide a function that is called when the close button is clicked
888
888
*/
889
- onCloseButtonClick ( event : MouseEvent ) : void ;
889
+ onCloseButtonClick ? ( event : MouseEvent ) : void ;
890
890
891
891
/**
892
892
* By default, this value is "alertdialog". You can also provide an alternate
0 commit comments