Skip to content

Commit 00a09e3

Browse files
committed
docs(storybook): document the default slot
1 parent 3e504f5 commit 00a09e3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/uui-toast-notification-container/lib/uui-toast-notification-container.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { property } from 'lit/decorators.js';
88

99
/**
1010
* @element uui-toast-notification-container
11+
* @slot default - slot for toast layout/content
1112
*/
1213
@defineElement('uui-toast-notification-container')
1314
export class UUIToastNotificationContainerElement extends LitElement {

packages/uui-toast-notification/lib/uui-toast-notification.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { UUIToastNotificationEvent } from './UUIToastNotificationEvent';
1818
* @fires {UUIToastNotificationEvent} closing - fires when the toast is starting to close
1919
* @fires {UUIToastNotificationEvent} closed - fires when the toast is closed
2020
* @description - Component for displaying a toast notification, preferably used in toast-notification-container.
21-
* @slot - for dialog layout/content
21+
* @slot default - slot for dialog layout/content
2222
*/
2323
@defineElement('uui-toast-notification')
2424
export class UUIToastNotificationElement extends LitElement {

0 commit comments

Comments
 (0)