Skip to content

Commit 75bb994

Browse files
committed
Add progressbar story for custom color
1 parent bbc7f64 commit 75bb994

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/v2/ProgressBar/index.stories.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ export const ValidProgressBar = () => (
1313
<ProgressBar value={50} step={5} mark={75} ariaLabel="Storybook slider" min={0} max={100} />
1414
);
1515

16+
export const ProgressBarWithCustomProgressColor = () => (
17+
<ProgressBar
18+
progressColorOverride="yellow"
19+
value={50}
20+
step={5}
21+
mark={75}
22+
ariaLabel="Storybook slider"
23+
min={0}
24+
max={100}
25+
/>
26+
);
27+
1628
export const ValidProgressBarWithTooltip = () => (
1729
<ProgressBar
1830
value={50}

0 commit comments

Comments
 (0)