Skip to content

Conversation

@landonreed
Copy link
Member

Move things around a little to clean up the example/make it easier to override classic icons.

@codecov-io
Copy link

codecov-io commented May 12, 2020

Codecov Report

Merging #164 into otp-ui-icons will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@              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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9219719...ac4d6db. Read the comment docs.

example.js Outdated

// Set useCustomIcons to true to override classic icons with the exports from
// custom-icons.js
const useCustomIcons = true
Copy link
Collaborator

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
Comment on lines 48 to 49
// const MyLegIcon = () => <Ferry />
// const MyModeIcon = () => <AerialTram />
Copy link
Collaborator

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.

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a 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?

@binh-dam-ibigroup binh-dam-ibigroup merged commit ca27560 into otp-ui-icons May 12, 2020
@landonreed
Copy link
Member Author

🎉 This PR is included in version 1.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@landonreed
Copy link
Member Author

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants