Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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