gatsby-plugin-react-svg icon indicating copy to clipboard operation
gatsby-plugin-react-svg copied to clipboard

Adds svg-react-loader to gatsby webpack config

Results 21 gatsby-plugin-react-svg issues
Sort by recently updated
recently updated
newest added

How do you mock these SVG components in Jest? I import it in my files like suggested, but when it tries to retrieve it I get an error that the...

Hi, thanks a lot for this plugin! I'm trying to use it with Typescript and have set up a custom typescript definition as described in the readme but I'm still...

help wanted

In my `gatsby-config.js` I have ```js { resolve: "gatsby-plugin-react-svg", options: { rule: { include: /svg/, }, }, }, ``` then in my `LandingPage.js` component I have ```js // other imports...

Hi, I searched for a solution to this problem for hours but finally found it with my own efforts. While the usage pattern shown in the document in the config...

I keep my svgs in `src/images/svgs` directory. Then I try to load them in component in such way: `import Icon from "../../images/svgs/icon.svg"` In `gatsby-config.js` i have following config: ``` rule:...

lets say i have one svg which has linearGradient with `id`, and i wanted to try render the same svg on multiple places within the same page. only the first...

Is there a way to use dynamic imports? I'm trying to achieve something like this: **Icon.js component** `````` **In use** `````` The idea is to call a single `Icon` component...

While this query parameter offers in the svg-react-loader documentation to prefix class and id names with the filename (in case `classIdPrefix: true`) or with a declared combination of interpolations (such...

Running Gatsby Cli 2.12.37 This plugin 3.0.0 If I add this to gatsby.config.js { resolve: 'gatsby-plugin-react-svg', options: { rule: { include: /svg/ OR /assets/ or whatever } } }, I...