2021-06-21 01:51:15 +00:00
|
|
|
import React from "react";
|
2021-06-21 02:55:31 +00:00
|
|
|
import "./Input.css";
|
2021-06-21 01:51:15 +00:00
|
|
|
|
|
|
|
function InputField(props) {
|
|
|
|
return (
|
2021-06-21 02:55:31 +00:00
|
|
|
<label className="input-field">
|
2021-06-21 01:51:15 +00:00
|
|
|
<p>{props.LabelName}</p>
|
2021-06-22 01:41:14 +00:00
|
|
|
<input name={props.InputName} onChange={props.onChange} type={props.InputType} />
|
2021-06-21 01:51:15 +00:00
|
|
|
</label>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default InputField;
|