importing svg into cra code example
Example: importing svg into cra
import { ReactComponent as BrandIcon } from "./assets/brand-icon.svg";
export default function(){
return <BrandIcon />
}
import { ReactComponent as BrandIcon } from "./assets/brand-icon.svg";
export default function(){
return <BrandIcon />
}