Импорт SVG в CRA
import { ReactComponent as BrandIcon } from "./assets/brand-icon.svg";
export default function(){
return <BrandIcon />
}
Adorable Anteater
import { ReactComponent as BrandIcon } from "./assets/brand-icon.svg";
export default function(){
return <BrandIcon />
}