Skip to content

Commit 86f66f1

Browse files
committed
docs(storybook): handle the default slot
1 parent 8c91288 commit 86f66f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const AAAOverview: Story = props =>
4040
.labelPosition=${props.labelPosition}
4141
?disabled=${props.disabled}
4242
?checked=${props.checked}
43-
>${props.default}</uui-checkbox
43+
>${props.slot}</uui-checkbox
4444
>
4545
`;
4646
AAAOverview.args = { label: 'label' };
@@ -51,7 +51,7 @@ AAAOverview.argTypes = {
5151
options: ['left', 'right', 'top', 'bottom'],
5252
control: 'select',
5353
},
54-
default: { control: { type: 'text' } },
54+
slot: { control: { type: 'text' } },
5555
'--uui-checkbox-size': { control: { type: 'text' } },
5656
};
5757

0 commit comments

Comments
 (0)