I'm trying to make use of the Google Material Icons in my React app and I'm having trouble sizing them. I'm importing them as React components using @material-ui/icons.
import { ArrowForward as IconArrowRight } from '@material-ui/icons';
These are my styles that are meant to override the default SvgIcon
styles:
svg {
display: inline-block;
width: auto;
height: 40px;
}
For some reason, there is a space between my SVG and path that I'd like to remove but I don't know why it's there in the first place. How can I remove this space?