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

fix: allow string or number as Input value #250

Merged
merged 1 commit into from
Sep 19, 2018

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Sep 19, 2018

The Input typings currently only allow strings as value and defaultValue. This PR also allows numbers.

@codecov
Copy link

codecov bot commented Sep 19, 2018

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #250   +/-   ##
=======================================
  Coverage   92.15%   92.15%           
=======================================
  Files          61       61           
  Lines        1058     1058           
  Branches      135      155   +20     
=======================================
  Hits          975      975           
  Misses         80       80           
  Partials        3        3
Impacted Files Coverage Δ
src/components/Input/Input.tsx 85.18% <ø> (ø) ⬆️

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 98e70f2...21be2e1. Read the comment docs.

@levithomason levithomason merged commit d8a9e2c into master Sep 19, 2018
@levithomason levithomason deleted the fix/input-default-value branch September 19, 2018 17:37
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