targeting a svg in REACT (styled components) to edit it

Hello I am trying to edit a SVG using styled components and I don't think I am targeting it correctly

Index.js code <img src={waves} alt="divider" />

Elements.js code export const waves = styled.img margin-top: 60px; ;



Read more here: https://stackoverflow.com/questions/67153091/targeting-a-svg-in-react-styled-components-to-edit-it

Content Attribution

This content was originally published by Melissa at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: