2016-04-19 4 views
1

Ich möchte SVG in React-Komponente hinzufügen. Ich benutze Coffee ohne JSX:React.js. Fehler: Ungültiger Wert für <path> Attribut d

svg viewbox: '0 0 800 600', 
    path 
     id: 'top' 
     d: 'M300,220 C300,220 520,220 540,220 C740,220 640,540' 

und ich bekomme diese Fehlermeldung:

Error: Invalid value for <path> attribute d="M300,220 C300,220 520,220 540,220 C740,220 640,540" 

Antwort