Skip to content
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

fix(FormField): pass content prop through #2212

Merged
merged 1 commit into from
Oct 18, 2017

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Oct 18, 2017

Fixes #2211

Form.Button was updated to handle the content prop, however, only unhandled props are passed to underlying components. This resulted in the content prop no longer being passed through to the underlying component.

This PR explicitly passes it through as it is explicitly handled. Tests have also been added. Can be merged once tests pass.

@codecov-io
Copy link

Codecov Report

Merging #2212 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2212   +/-   ##
=======================================
  Coverage   99.73%   99.73%           
=======================================
  Files         151      151           
  Lines        2622     2622           
=======================================
  Hits         2615     2615           
  Misses          7        7
Impacted Files Coverage Δ
src/collections/Form/FormField.js 100% <100%> (ø) ⬆️

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 6e85196...eb4d6bf. Read the comment docs.

@levithomason levithomason deleted the fix/form-field-content branch October 18, 2017 04:28
@levithomason
Copy link
Member Author

Released in semantic-ui-react@0.75.1

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.

2 participants