Currently, we are using our own Icon component which takes an src prop with a URL for a custom image. This is a problem for dark mode and is redundant with MUI's existing icon set. Let's remove all uses of the custom Icon component and replace them with appropriate icons from the MUI icon set.
Currently, we are using our own Icon component which takes an
src
prop with a URL for a custom image. This is a problem for dark mode and is redundant with MUI's existing icon set. Let's remove all uses of the custom Icon component and replace them with appropriate icons from the MUI icon set.If we need custom icons, MUI offers the SvgIcon component.