- Designed login and register buttons - removed some unnecessary css things - changed some small things in the design
14 lines
308 B
JavaScript
14 lines
308 B
JavaScript
import React from "react";
|
|
import "./Input.css"
|
|
import "./Button.css"
|
|
|
|
function SubmitField(props) {
|
|
const InputValue = props.LabelName;
|
|
return (
|
|
<label className="input-field">
|
|
<input type="submit" onClick={props.onClick} value={InputValue} />
|
|
</label>
|
|
);
|
|
}
|
|
|
|
export default SubmitField;
|