react-svg-icon-generator
react-svg-icon-generator copied to clipboard
Generate React Icon Component from SVG icons to show, resize and recolor them.
Existing solution does not parse booleans appropriately.
When `absolutePath` was a directory, it should be passed to recursion function. Taking `dir, file` as parameters will cause endless recursion.
https://react-svg-icon-live-generator.herokuapp.com/ displays white screen + "Invalid Host header"
Fixes a bug where workspace didn't persist, resulting in publish failures.
How fix this problem?
There is no way how to render SVG icon without explicit width, height, onClick and style parameters. It is not possible to change size in CSS, if width and height...
It seems as if the gulp task can fail depending on the running Node version. What is the requirement? I get RangeError on line 22 and 25 in react-svg-icon-generator/lib/helpers/getSvgsInDir.js when...
like this: ``` configureSvgIcon({ destination: path.join(__dirname, 'src', 'Icon.js'), svgDir: [ path.join(__dirname, 'src', 'svg'), path.join(__dirname, 'demo', src', 'svg') ], }); ```
Bumps [semver](https://github.com/npm/node-semver) to 5.7.2 and updates ancestor dependency [gulp](https://github.com/gulpjs/gulp). These dependencies need to be updated together. Updates `semver` from 5.5.0 to 5.7.2 Release notes Sourced from semver's releases. v5.7.2 5.7.2...
Bumps [nunjucks](https://github.com/mozilla/nunjucks) from 2.5.2 to 3.2.4. Release notes Sourced from nunjucks's releases. v3.2.4 What's Changed fix: html encode backslashes if used with escape filter or autoescape by @fdintino in mozilla/nunjucks#1437....