Button.js 361 Bytes
import React from 'react'
import { Link } from 'react-router-dom';
import "../style/Landing.css";

const Button = (props) => {
    return (
        <div className="mainBtnContainer">
            <Link to="/main">
                <button className="startBtn">{props.btnText}</button>
            </Link>
        </div>
    )
}
export default Button;