I am using react native expo to create web, ios and android app. I have an svg image url. I am using SVGR to convert svg image code into React native component and importing it as component in my app. It is working fine in web but on android it is giving mentioned error : 'Text strings must be rendered within a component'. When I checked generated svg component I found this line :
```import * as React from "react"
const SvgComponentFile = (props) => (
<svg
id="Layer_1"
xmlns="http://www.w3.org/2000/svg"
x={0}
y={0}
viewBox="0 0 385.11 279.06"
style={{
enableBackground: "new 0 0 385.11 279.06",
}}
xmlSpace="preserve"
{...props}
>
**<style>{`.st0{fill:#fff}.st1{fill:#6fccdd}`}</style>**
<path.....
/>```
I think tag line : {.st0{fill:#fff}.st1{fill:#6fccdd}
} is cause of error but not sure. when I remove style tag, then it gives Path is not function or class component.
Any idea where I am wrong.I have already invested 3 days in this issueenter code here