File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/uui-toast-notification/lib Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,12 +121,12 @@ export class UUIToastNotificationElement extends LitElement {
121
121
122
122
/**
123
123
* Changes the look of the notification to one of the predefined, symbolic looks. Example set this to danger for errors.
124
- * @type {""|"primary"|"positive"|"warning"|"danger" }
124
+ * @type {""|"default"|" primary"|"positive"|"warning"|"danger" }
125
125
* @attr
126
126
* @default ""
127
127
*/
128
128
@property ( { reflect : true } )
129
- color = '' ;
129
+ color : '' | 'default' | 'positive' | 'warning' | 'danger' = '' ;
130
130
131
131
private _autoClose : number | null = null ;
132
132
/**
@@ -343,7 +343,7 @@ export class UUIToastNotificationElement extends LitElement {
343
343
< div id ="close ">
344
344
< uui-button
345
345
.label =${ 'close' }
346
- ? color =${ this . color }
346
+ . color =${ this . color }
347
347
.look=${ this . color ? 'primary' : 'default' }
348
348
@click=${ ( ) => ( this . open = false ) } >
349
349
< uui-icon
You can’t perform that action at this time.
0 commit comments