react-svg-textures
react-svg-textures copied to clipboard
Getting an error while trying to run the basic usage example
trafficstars
import { Lines } from "react-svg-textures"; //
./src/mods/Lines.js
53:30-35 'react-svg-textures' does not contain an export named 'Lines'.
I also tried
import Textures from "react-svg-textures";
const Lines = Texture.Lines
but although this gave no error, the basic usage example didn't render properly. Just see a single purple dot
thanks for reporting this - will look into it
import Paths from "react-svg-textures/es/Paths"; seems to work
@finnfiddle this appears to be broken upstream in potion as well