diff --git a/src/stories/Inputs/Checkbox.stories.ts b/src/stories/Inputs/Checkbox.stories.ts index 653c16a..800e44f 100644 --- a/src/stories/Inputs/Checkbox.stories.ts +++ b/src/stories/Inputs/Checkbox.stories.ts @@ -22,7 +22,7 @@ const meta: Meta = { template: ` `, }), @@ -57,7 +57,7 @@ export const Default: Story = {}; export const Switch: Story = { args: { - name: "Switch", + value: "Switch", role: "switch", }, }; diff --git a/src/stories/Inputs/Radio.stories.ts b/src/stories/Inputs/Radio.stories.ts index 15f8bf8..5d89df0 100644 --- a/src/stories/Inputs/Radio.stories.ts +++ b/src/stories/Inputs/Radio.stories.ts @@ -21,7 +21,7 @@ const meta: Meta = { template: ` `, }), diff --git a/src/stories/Inputs/SharedInputArgs.ts b/src/stories/Inputs/SharedInputArgs.ts index 9572d46..a34cf6f 100644 --- a/src/stories/Inputs/SharedInputArgs.ts +++ b/src/stories/Inputs/SharedInputArgs.ts @@ -5,11 +5,6 @@ export const sharedInputArgTypes = { control: "text", description: "The label text of the input", }, - name: { - control: "text", - description: "The name of the input", - table: { category: "Props" }, - }, value: { control: "text", description: "The value of the input", @@ -48,7 +43,6 @@ export const sharedInputArgTypes = { export const sharedInputArgs = { labelText: "Input element label", - name: "Input element", required: true, disabled: false, readOnly: false,