diff --git a/src/ComboBox/ComboBox.Story.svelte b/src/ComboBox/ComboBox.Story.svelte index a54292b9..0568262b 100644 --- a/src/ComboBox/ComboBox.Story.svelte +++ b/src/ComboBox/ComboBox.Story.svelte @@ -30,7 +30,6 @@ } -
Currently, this component does not support items as slots.
items
must be an array of objects; mandatory fields are `id` and `text`.
@@ -47,8 +46,9 @@
size="small"
on:click={() => {
selectedIndex = 1;
- }}>
- Set item to 'Option 2'
+ }}
+ style="margin-top: 1rem;">
+ Set item to "Option 2"
Currently, this component does not support items as slots.
items
must be an array of objects; mandatory fields are `id` and `text`.
@@ -35,7 +34,7 @@
on:click={() => {
selectedIndex = selectedIndex > -1 ? -1 : 1;
}}>
- {selectedIndex > -1 ? 'Clear selected item' : "Set item to 'Option 2'"}
+ {selectedIndex > -1 ? 'Clear selected item' : 'Set item to "Option 2"'}