Skip to content

Commit f81cd0c

Browse files
committed
fixed icon in story
1 parent 7eaccea commit f81cd0c

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

packages/uui-dialog/lib/uui-dialog.story.ts

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import '.';
22
import '@umbraco-ui/uui-button/lib';
3+
import '@umbraco-ui/uui-icon-registry-essential/lib';
34

45
import { Story } from '@storybook/web-components';
56
import { html } from 'lit-html';
@@ -51,14 +52,16 @@ export const ConfirmDialogDanger: Story = () => html`
5152
`;
5253

5354
export const HeadlineSlot: Story = () => html`
54-
<uui-dialog>
55-
<uui-dialog-layout>
56-
<span slot="headline">
57-
<uui-icon name="crown-alt"></uui-icon> With Icon
58-
</span>
59-
<p>This is using a <b>slot</b> for the headline.</p>
60-
<uui-button slot="actions">Cancel</uui-button>
61-
<uui-button slot="actions" look="danger">Delete</uui-button>
62-
</uui-dialog-layout>
63-
</uui-dialog>
55+
<uui-icon-registry-essential>
56+
<uui-dialog>
57+
<uui-dialog-layout>
58+
<span slot="headline">
59+
<uui-icon name="code"></uui-icon> With Icon
60+
</span>
61+
<p>This is using a <b>slot</b> for the headline.</p>
62+
<uui-button slot="actions">Cancel</uui-button>
63+
<uui-button slot="actions" look="danger">Delete</uui-button>
64+
</uui-dialog-layout>
65+
</uui-dialog>
66+
</uui-icon-registry-essential>
6467
`;

0 commit comments

Comments
 (0)