| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
PatternFly-React preview: https://1914-pr-patternfly-react-patternfly.surge.sh |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #1914 +/- ##
==========================================
+ Coverage 81.09% 81.14% +0.04%
==========================================
Files 643 644 +1
Lines 7706 7721 +15
Branches 451 453 +2
==========================================
+ Hits 6249 6265 +16
+ Misses 1257 1256 -1
Partials 200 200
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
@rebeccaalpert can you also add integration tests for this component as outlined on this README? |
Sorry, something went wrong.
|
Added demo and tests. |
Sorry, something went wrong.
|
PatternFly-React preview: https://1914-pr-patternfly-react-patternfly.surge.sh |
Sorry, something went wrong.
|
Updated enum typing as discussed in meeting. |
Sorry, something went wrong.
There was a problem hiding this comment.
A few comments. Let me know if you have any questions.
Sorry, something went wrong.
There was a problem hiding this comment.
Great job! Thanks @rebeccaalpert !
Sorry, something went wrong.
There was a problem hiding this comment.
Jest Test are failing.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
There was a problem hiding this comment.
Really close, thanks for your work!
Sorry, something went wrong.
| @@ -1,6 +1,6 @@ | |||
| import React from 'react'; | |||
There was a problem hiding this comment.
Change the extension on this file to .tsx
Sorry, something went wrong.
| /** A callback for when the input value changes. */ | ||
| onChange?: (value: string, event: React.FormEvent<HTMLInputElement>) => void; | ||
| /** Type that the input accepts. */ | ||
| type?: 'text' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'time' | 'url'; |
There was a problem hiding this comment.
To allow use of the enum, I believe you need to add | TextInputTypes
Sorry, something went wrong.
| const { className, type, value, onChange, isValid, isReadOnly, isRequired, isDisabled, ...props } = this.props; | ||
| return ( | ||
| <input | ||
| {...props} |
There was a problem hiding this comment.
Let's spread the props at the end to be consistent across components.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #1908.