Skip to content

Commit 3dd0dac

Browse files
authored
Include 'time' Input Type (#1057)
1 parent 3668d96 commit 3dd0dac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/input/Input.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Input.propTypes = {
215215
* The type of control to render
216216
*/
217217
type: PropTypes.oneOf([
218-
// Only allowing the input types with wide browser compatability
218+
// Only allowing the input types with wide browser compatibility
219219
'text',
220220
'number',
221221
'password',
@@ -224,7 +224,8 @@ Input.propTypes = {
224224
'search',
225225
'tel',
226226
'url',
227-
'hidden'
227+
'hidden',
228+
'time'
228229
]),
229230

230231
/**

0 commit comments

Comments
 (0)