📜  reactjs 更改填充颜色 .svg - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:21.878000             🧑  作者: Mango

代码示例1
// 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 = () => (
  
{/* Logo is an actual React component */}
);