mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21: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
|
@ -6,7 +6,8 @@ export default { title: 'TextArea', decorators: [withKnobs] };
|
|||
export const Default = () => ({
|
||||
Component,
|
||||
props: {
|
||||
id: 'text-area',
|
||||
id: text('TextArea id', 'text-area-id'),
|
||||
name: text('TextArea name', 'text-area-name'),
|
||||
disabled: boolean('Disabled (disabled)', false),
|
||||
light: boolean('Light variant (light)', false),
|
||||
hideLabel: boolean('No label (hideLabel)', false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue