Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reactjs change fill color .svg

// https://stackoverflow.com/questions/54519654/how-do-i-add-color-to-my-svg-image-in-react

import { ReactComponent as Logo } from './logo.svg';
const App = () => (
  <div>
    {/* Logo is an actual React component */}
    <Logo />
  </div>
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reactjs #change #fill #color
ADD COMMENT
Topic
Name
4+5 =