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-23 01:40:37 +00:00
|
|
|
<input
|
|
|
|
name={props.InputName}
|
|
|
|
onChange={props.onChange}
|
|
|
|
type={props.InputType}
|
|
|
|
placeholder={props.InputPlaceHolder}
|
|
|
|
/>
|
2021-06-21 01:51:15 +00:00
|
|
|
</label>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default InputField;
|