Skip to content

Commit

Permalink
chore: remove unused prop
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan committed Mar 8, 2024
1 parent 0eabb9e commit 600e56b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/stories/Inputs/Checkbox.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const meta: Meta<HTMLInputElementCustom> = {
template: `
<label for='checkbox'>
<input id='checkbox' type='checkbox' v-bind='args' data-testid="input"></input>
{{args.name}}
{{args.value}}
</label>
`,
}),
Expand Down Expand Up @@ -57,7 +57,7 @@ export const Default: Story = {};

export const Switch: Story = {
args: {
name: "Switch",
value: "Switch",
role: "switch",
},
};
2 changes: 1 addition & 1 deletion src/stories/Inputs/Radio.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const meta: Meta<HTMLInputElementCustom> = {
template: `
<label for='radio'>
<input id='radio' type='radio' v-bind='args' data-testid="input"></input>
{{args.name}}
{{args.value}}
</label>
`,
}),
Expand Down
6 changes: 0 additions & 6 deletions src/stories/Inputs/SharedInputArgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -48,7 +43,6 @@ export const sharedInputArgTypes = {

export const sharedInputArgs = {
labelText: "Input element label",
name: "Input element",
required: true,
disabled: false,
readOnly: false,
Expand Down

0 comments on commit 600e56b

Please sign in to comment.