-
Notifications
You must be signed in to change notification settings - Fork 59
refactor(icons): move example custom icons into own file #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## otp-ui-icons #164 +/- ##
=============================================
Coverage 11.04% 11.04%
=============================================
Files 91 91
Lines 3612 3612
Branches 968 968
=============================================
Hits 399 399
Misses 2800 2800
Partials 413 413 Continue to review full report at Codecov.
|
example.js
Outdated
|
|
||
| // Set useCustomIcons to true to override classic icons with the exports from | ||
| // custom-icons.js | ||
| const useCustomIcons = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be false by default.
example.js
Outdated
| // const MyLegIcon = () => <Ferry /> | ||
| // const MyModeIcon = () => <AerialTram /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting rid of this example in #150 in favor of the one using CustomIcons.
binh-dam-ibigroup
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set useCustomIcons to false?
|
🎉 This PR is included in version 1.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Move things around a little to clean up the example/make it easier to override classic icons.