Skip to content

Commit

Permalink
feat(bugfix-icon_import): when importing icons their name has to have…
Browse files Browse the repository at this point in the history
… icon suffix in them (patternfly#499)

affects: @patternfly/react-icons
  • Loading branch information
karelhala authored and dmiller9911 committed Jul 26, 2018
1 parent a9af02d commit 83906cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-icons/build/generateIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getFontAwesomeIcon(name) {
const faIconDef = require(`@fortawesome/free-solid-svg-icons/${faIconName}`); // eslint-disable-line

return {
id: name,
id: `${name}-icon`,
name: pascalCase(`${name}-icon`),
width: faIconDef.width,
height: faIconDef.height,
Expand Down

0 comments on commit 83906cc

Please sign in to comment.