Skip to content

Commit 9e87aa7

Browse files
committed
docs(storybook): handle the default slot
1 parent 151da0b commit 9e87aa7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ export default {
1010
id: 'uui-tag',
1111
args: {
1212
look: '',
13-
default: 'Hello',
13+
slot: 'Hello',
1414
},
1515
argTypes: {
16-
default: { table: { category: 'slots' }, control: { type: 'text' } },
16+
slot: { control: { type: 'text' } },
1717
look: {
1818
options: [
1919
'primary',
@@ -30,7 +30,7 @@ export default {
3030
};
3131

3232
const Template: Story = props => html`
33-
<uui-tag .look=${props.look}>${props.default}</uui-tag>
33+
<uui-tag .look=${props.look}>${props.slot}</uui-tag>
3434
`;
3535

3636
export const AAAOverview = Template.bind({});

0 commit comments

Comments
 (0)