aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/loaders/progress-bar.tsx
Commit message (Collapse)AuthorAgeFilesLines
* chore: add a label to progress barArmand Philippot2022-06-071-11/+15
| | | | | | 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.
* refactor: support React 18Armand Philippot2022-04-161-2/+2
| | | | | | | | I replaced the deprecated VFC type with FC type and made all children explicits. Formatjs is still not compatible with React 18 so I need to skip type checking when comitting. There are some type errors because of IntlProvider in Storybook stories.
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-5/+5
| | | | | | | | I was using the FunctionComponent type for some component that do not use children. So I change the type to VoidFunctionComponent to avoid mistakes. I also rename all the "classes" or "additionalClasses" props to "className" to keep consistency between each components.
* chore: add a ProgressBar componentArmand Philippot2022-04-051-0/+55