FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(Icons - config): Publish configs as well with icons by karelhala · Pull Request #2701 · patternfly/patternfly-react · GitHub

feat(Icons - config): Publish configs as well with icons - #2701

Merged
jschuler merged 1 commit into
patternfly:masterfrom
karelhala:icons-config
Aug 23, 2019
Merged

feat(Icons - config): Publish configs as well with icons#2701
jschuler merged 1 commit into
patternfly:masterfrom
karelhala:icons-config

Conversation

Copy link
Copy Markdown
Contributor

What:
Some usecases require the original SVG path to be used instead of React component (for instance when using icons in svg). So this PR will introduce iconConfig (for each icon) alongSide the exported icon.

Additional issues:

Copy link
Copy Markdown
Collaborator

PatternFly-React preview: https://patternfly-react-pr-2701.surge.sh

};

export default {{name}};
export default createIcon({{name}}Config);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I like this approach.

jschuler merged commit 6055e91 into patternfly:master Aug 23, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL