Bachelorthesis_Code/frontend/src/components/InputField.jsx
cami 85e484bf0b
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Renaming and autoformatting
- renamed the react files to jsx
- autoformat with vscode
2021-07-22 20:18:01 +02:00

20 lines
430 B
JavaScript

import React from "react";
import "./Input.css";
function InputField(props) {
return (
<label className="input-field">
<p>{props.LabelName}</p>
<input
name={props.InputName}
onChange={props.onChange}
type={props.InputType}
placeholder={props.InputPlaceHolder}
onCopy={props.onCopy}
onPaste={props.onPaste}
/>
</label>
);
}
export default InputField;