Skip to content

Remove styled components

Loic Huder requested to merge remove-styled-components into main

For #38 (closed)

There was only two instances of styled components and these were in the MoreMenu components (renamed to ActionMenu in the last commit). I replaced those with CSS modules.

There is also a lot of clean-up in these components so I advise to review the commits separately (The most important commit is 01453e5e and I already went a bit overboard with it, sorry! 🙏 )

Notably:

  • Inlined StyledMenu in MoreMenuButton (now OpenActionMenuButton)
  • Removed MenuList that brought unneeded encapsulation
  • Put DownloadMenuItem in its own component
Edited by Loic Huder

Merge request reports

Loading