Skip to content

Commit

Permalink
fix: removed dup ID's
Browse files Browse the repository at this point in the history
  • Loading branch information
2nikhiltom committed Sep 4, 2024
1 parent cccc7de commit 2b4e86b
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions packages/react/src/components/NumberInput/NumberInput.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,29 +83,17 @@ export const withAILabel = () => (
);

export const Playground = (args) => {
// const { numberInputArrowTranslationIds, ...rest } = props();
return (
<>
<NumberInput
id="carbon-number"
min={-100}
max={100}
value={50}
label="NumberInput label"
helperText="Optional helper text."
invalidText="Number is not valid"
{...args}
/>
<NumberInput
id="carbon-number"
min={-100}
max={100}
value={50}
label="NumberInput label"
helperText="Optional helper text."
invalidText="Number is not valid"
/>
</>
<NumberInput
id="carbon-number-play"
min={-100}
max={100}
value={50}
label="NumberInput label"
helperText="Optional helper text."
invalidText="Number is not valid"
{...args}
/>
);
};

Expand Down

0 comments on commit 2b4e86b

Please sign in to comment.