mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
chore: update copy for ComboBox/Dropdown stories
This commit is contained in:
parent
d46c5b852a
commit
bc866d6650
3 changed files with 4 additions and 9 deletions
|
@ -30,7 +30,6 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<p>Currently, this component does not support items as slots.</p>
|
||||
<p>
|
||||
<code>items</code>
|
||||
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"
|
||||
</Button>
|
||||
</div>
|
||||
<div style="width: 300px; margin-top: 2rem;">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue