aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/loaders/progress-bar.fixture.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-06-07 17:36:46 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-07 17:41:43 +0200
commitb1103a9554c5593c065466d1e289db2680cf2993 (patch)
tree3e786789f8dfdb42d9e524171d2dfa5812c1fff0 /src/components/atoms/loaders/progress-bar.fixture.tsx
parent234b67fe98c6167e4f83f43e11942a9e937c2a60 (diff)
chore: add a label to progress bar
The progress element is a form element, so a label is required to be accessible. Since I'm not using it without label, I transform the optional info parameter to a mandatory label parameter.
Diffstat (limited to 'src/components/atoms/loaders/progress-bar.fixture.tsx')
-rw-r--r--src/components/atoms/loaders/progress-bar.fixture.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/atoms/loaders/progress-bar.fixture.tsx b/src/components/atoms/loaders/progress-bar.fixture.tsx
new file mode 100644
index 0000000..d9b02c3
--- /dev/null
+++ b/src/components/atoms/loaders/progress-bar.fixture.tsx
@@ -0,0 +1,5 @@
+export const id = 'amet-eum-ut';
+export const min = 0;
+export const max = 50;
+export const current = 20;
+export const label = '20 loaded out of a total of 50';