mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41: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
|
@ -10,7 +10,9 @@ export const Default = () => ({
|
|||
'aria-label': text('ARIA label of the toggle (aria-label)', ''),
|
||||
labelA: text('Label for untoggled state (labelA)', 'Off'),
|
||||
labelB: text('Label for toggled state (labelB)', 'On'),
|
||||
disabled: boolean('Disabled (disabled)', false)
|
||||
disabled: boolean('Disabled (disabled)', false),
|
||||
id: text('ToggleSmall id', 'toggle-small-id'),
|
||||
name: text('ToggleSmall name', 'toggle-small-name')
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -24,7 +26,9 @@ export const Toggled = () => ({
|
|||
'aria-label': text('ARIA label of the toggle (aria-label)', ''),
|
||||
labelA: text('Label for untoggled state (labelA)', 'Off'),
|
||||
labelB: text('Label for toggled state (labelB)', 'On'),
|
||||
disabled: boolean('Disabled (disabled)', false)
|
||||
disabled: boolean('Disabled (disabled)', false),
|
||||
id: text('ToggleSmall id', 'toggle-small-id'),
|
||||
name: text('ToggleSmall name', 'toggle-small-name')
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue