import { useHistory } from "react-router-dom";

const BtnGroup = () => {
    const history = useHistory();

    return (
        <div className="d-flex justify-content-around my-4">
            <button className="btn btn-white col-5 shadow-none border-dark" type="button" onClick={() => history.goBack()}>취소</button>
            <button className="btn btn-crimson col-5" type="submit">등록</button>
        </div>
    )
}

export default BtnGroup