Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(Icon): handle brand icons #320

Merged
merged 2 commits into from
Oct 5, 2018
Merged

fix(Icon): handle brand icons #320

merged 2 commits into from
Oct 5, 2018

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Oct 5, 2018

This PR simply modifies the icon definitions to specify the correct family for each font awesome icon.

image

@levithomason levithomason changed the title fix(Icon): handle branch icons fix(Icon): handle brand icons Oct 5, 2018
@codecov
Copy link

codecov bot commented Oct 5, 2018

Codecov Report

Merging #320 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
+ Coverage   89.54%   89.54%   +<.01%     
==========================================
  Files          62       62              
  Lines        1176     1177       +1     
  Branches      175      152      -23     
==========================================
+ Hits         1053     1054       +1     
  Misses        121      121              
  Partials        2        2
Impacted Files Coverage Δ
src/components/Input/Input.tsx 84.9% <0%> (+0.29%) ⬆️

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 2c8fca9...c82e4ef. Read the comment docs.

@levithomason levithomason merged commit 08706c8 into master Oct 5, 2018
@levithomason levithomason deleted the feat/brand-icons branch October 5, 2018 01:43
@@ -20,10 +20,7 @@ const sizes = new Map([
])

const getDefaultFontIcon = (iconName: string) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

it is better to explicitly specify the return type - otherwise we will lose this knowledge

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants