import React from "react";
import "./Input.css";

function SubmitInput(props) {
  return (
    <label className="submit-field">
      <p>{props.label}</p>
      <input type="submit" value={props.value} />
    </label>
  );
}

export default SubmitInput;
