Skip to content

Commit c66f659

Browse files
committed
docs(storybook): document the default slot
1 parent 5717e32 commit c66f659

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/uui-ref-node/lib/uui-ref-node.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { UUIRefElement } from '@umbraco-ui/uui-ref/lib';
21
import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
2+
import { UUIRefElement } from '@umbraco-ui/uui-ref/lib';
33
import { css, html } from 'lit';
44
import { property, state } from 'lit/decorators.js';
55

@@ -9,7 +9,7 @@ import { property, state } from 'lit/decorators.js';
99
* @fires {UUIRefEvent} selected - fires when the ref is selected
1010
* @fires {UUIRefEvent} unselected - fires when the ref is unselected
1111
* @description - Component for displaying a reference to a generic node.
12-
* @slot - for content
12+
* @slot default - for content
1313
* @slot icon - for an icon
1414
* @slot tag - for a tag
1515
* @slot actions - for actions

packages/uui-ref-node/lib/uui-ref-node.story.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import '.';
2+
13
import { Story } from '@storybook/web-components';
24
import { html } from 'lit-html';
5+
36
import { ArrayOfUmbracoWords } from '../../../storyhelpers/UmbracoWordGenerator';
4-
import './index';
57

68
export default {
79
id: 'uui-ref-node',

0 commit comments

Comments
 (0)