aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/section.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Section componentArmand Philippot2023-10-241-54/+0
| | | | | | * Make it compliant with ESlint rules * Remove mandatory heading, it now depends on the consumer * Change defaults for hasBorder and variant
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-14/+11
| | | | | | 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-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.
* chore: add a Section componentArmand Philippot2022-04-091-0/+57