mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
add name to form components
This commit is contained in:
parent
64e914ff8c
commit
6fdb8d10ed
32 changed files with 82 additions and 26 deletions
|
@ -14,10 +14,10 @@
|
|||
|
||||
<Layout>
|
||||
{#if story === 'toggled'}
|
||||
<ToggleSmall {...$$props} id="toggle-1" bind:toggled />
|
||||
<ToggleSmall {...$$props} id="toggle-small-id" name="toggle-small-name" bind:toggled />
|
||||
{:else if story === 'skeleton'}
|
||||
<ToggleSmallSkeleton />
|
||||
{:else}
|
||||
<ToggleSmall {...$$props} id="toggle-1" />
|
||||
<ToggleSmall {...$$props} id="toggle-small-id" name="toggle-small-name" />
|
||||
{/if}
|
||||
</Layout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue