From 600e56bbafc8a16cfce5b5c2f8e0bc899e8249f1 Mon Sep 17 00:00:00 2001 From: Michal Date: Fri, 8 Mar 2024 01:18:19 +0000 Subject: [PATCH] chore: remove unused prop --- src/stories/Inputs/Checkbox.stories.ts | 4 ++-- src/stories/Inputs/Radio.stories.ts | 2 +- src/stories/Inputs/SharedInputArgs.ts | 6 ------ 3 files changed, 3 insertions(+), 9 deletions(-) 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,