aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/grid/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace items prop in Grid with children propArmand Philippot2023-11-221-0/+1
| | | | | | | | | It is easier to read and to maintain this way. The `items` prop was not useful since we are not manipulating the items. Changes: * extract GridItem component from Grid component * replace `items` prop of type Array<ReactNode> with `children` prop of type ReactNode * remove GridItem styles
* feat(components): add a generic Grid componentArmand Philippot2023-11-111-0/+1
* merge Columns, Gallery and CardsList into Grid component * add more options to control the grid