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

fix(Button): renderIcon prop #347

Merged
merged 1 commit into from
Oct 10, 2018
Merged

fix(Button): renderIcon prop #347

merged 1 commit into from
Oct 10, 2018

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Oct 10, 2018

Currently, the renderIcon prop is passed to the Icon's defaultProps by mistake. This should be passed as an option to the factory. This PR fixes this issue.

@codecov
Copy link

codecov bot commented Oct 10, 2018

Codecov Report

Merging #347 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #347   +/-   ##
=======================================
  Coverage   89.73%   89.73%           
=======================================
  Files          64       64           
  Lines        1237     1237           
  Branches      157      180   +23     
=======================================
  Hits         1110     1110           
  Misses        125      125           
  Partials        2        2
Impacted Files Coverage Δ
src/components/Button/Button.tsx 95.83% <ø> (ø) ⬆️

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 6bb9d80...488b4f9. Read the comment docs.

@levithomason levithomason merged commit 3421c5e into master Oct 10, 2018
@levithomason levithomason deleted the fix/button-icon-render branch October 10, 2018 22:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants