-
-
Save KTruong008/dc3b022161bf1ef9eabcd2edc6f0d5ee to your computer and use it in GitHub Desktop.
This file contains 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
import React from 'react'; | |
export const Text = ({ label, input }) => { | |
console.log('inputStuff: ', input); | |
return ( | |
<div> | |
<div> | |
{label} | |
</div> | |
<div> | |
<input {...input} placeholder={label} type="text" /> | |
</div> | |
</div> | |
); | |
} | |
export default Text; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment