Skip to content

Commit

Permalink
fix: storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
savutsang committed Feb 16, 2024
1 parent 7a42ab9 commit 52feda9
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions packages/storybook/stories/progress-tracker.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,12 @@ export const Normal: Story = () => (

export const Steps: Story = () => (
<>
<ProgressTracker steps={createSteps(3)} value={1} ariaLabel='Storybook progress' />
<ProgressTracker steps={createSteps(3)} value={2} ariaLabel='Storybook progress' />
<ProgressTracker steps={createSteps(3)} value={3} ariaLabel='Storybook progress' />
<ProgressTracker steps={createSteps(5)} value={1} ariaLabel='Storybook progress' />
<ProgressTracker steps={createSteps(5)} value={3} ariaLabel='Storybook progress' />
<ProgressTracker steps={createSteps(5)} value={5} ariaLabel='Storybook progress' />
</>
);

export const WithLabels: Story = () => (
<ProgressTracker steps={createSteps(10)} value={4} />
);

export const AriaLabel: Story = () => (
<ProgressTracker
steps={createSteps(3)}
value={2}
ariaLabel='Storybook progress'
/>
);

export const OnclickEvent: Story = () => {
const [currentStep, setCurrentStep] = useState(1);

Expand Down

0 comments on commit 52feda9

Please sign in to comment.