Skip to content

Commit d690d03

Browse files
committed
docs: change stories to reflect the possibility that empty text nodes are valid
1 parent ec197fc commit d690d03

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ const Template: Story = props => {
108108
.rel=${props.rel}
109109
look=${props.look}
110110
color=${props.color}
111-
label=${props.label}
112-
>${props.content}</uui-button
113-
>
111+
label=${props.label}>
112+
${props.slot}
113+
</uui-button>
114114
`;
115115
};
116116

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ export const AAAOverview: Story = props => html`
4040
.labelPosition=${props.labelPosition}
4141
?disabled=${props.disabled}
4242
?readonly=${props.readonly}
43-
?checked=${props.checked}
44-
>${props.slot}</uui-toggle
45-
>
43+
?checked=${props.checked}>
44+
${props.slot}
45+
</uui-toggle>
4646
`;
4747
AAAOverview.storyName = 'Overview';
4848

0 commit comments

Comments
 (0)