如何在CSS中使用SVG属性

I want to know about how to use this svg{} in css.

  const BackButton = styled(Button)` 
   svg { color: white; } 
   `;

this is JSX where it is applied to ArrowBackIcon which is just material icon.

<BackButton>
  <ArrowBackIcon />
</BackButton>
评论