Bachelorthesis_Code/frontend/src/components/InputField.jsx

21 lines
430 B
React
Raw Normal View History

2021-06-21 01:51:15 +00:00
import React from "react";
import "./Input.css";
2021-06-21 01:51:15 +00:00
function InputField(props) {
return (
<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-07-11 23:06:23 +00:00
onCopy={props.onCopy}
onPaste={props.onPaste}
2021-06-23 01:40:37 +00:00
/>
2021-06-21 01:51:15 +00:00
</label>
);
}
export default InputField;