Last active
December 22, 2017 22:15
-
-
Save jmlavoier/482484271e969b51db268be1883ec8ba to your computer and use it in GitHub Desktop.
This is a dumb component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// InputField.js | |
import React from 'react'; | |
export const InputField = ({ | |
value, | |
name, | |
type, | |
style, | |
onChange | |
}) => ( | |
<div> | |
<input | |
value={value} | |
style={style} | |
name={name} | |
type={type} | |
onChange={onChange} | |
/> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment