79433467

Date: 2025-02-12 14:43:53
Score: 1
Natty:
Report link

you can return svg in the component this way:

const Svg = () => (
  <svg width="320" height="130" xmlns="http://www.w3.org/2000/svg">
    <rect width="300" height="100" x="10" y="10" style="fill:rgb(0,0,255);stroke-width:3;stroke:red" />
  </svg>

);

export default Svg;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: funny socks