added files/folders from new structure
This commit is contained in:
17
src/components/PersonalFormInput.js
Normal file
17
src/components/PersonalFormInput.js
Normal file
@@ -0,0 +1,17 @@
|
||||
function PersonalFromInput(props) {
|
||||
let fname = props.fname;
|
||||
let lname = props.lname;
|
||||
let email = props.email;
|
||||
return (
|
||||
<div id="personalForm">
|
||||
<label htmlFor="fname">First Name</label>
|
||||
<input id="fname" type="text" defaultValue={fname} onChange={() => console.log()}></input>
|
||||
<label htmlFor="lname">Last Name</label>
|
||||
<input id="lname" type="text" defaultValue={lname} onChange={() => console.log()}></input>
|
||||
<label htmlFor="email">Email</label>
|
||||
<input id="email" type="email" defaultValue={email} onChange={() => console.log()}></input>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default PersonalFromInput;
|
||||
Reference in New Issue
Block a user