aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/icons/hamburger.tsx
Commit message (Collapse)AuthorAgeFilesLines
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-29/+0
| | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-4/+1
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor: support React 18Armand Philippot2022-04-161-1/+1
| | | | | | | | 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.
* chore: add a MainNavButton componentArmand Philippot2022-04-121-8/+13
| | | | | I also move the active state from the hamburger to this pseudo-button. It makes more sense that the button handles the icon shape.
* chore(icons): accept a classname as propArmand Philippot2022-04-081-2/+9
|
* chore: add a Hamburger icon componentArmand Philippot2022-04-011-0/+20