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-4 shadow-none border-dark" type="button" onClick={() => history.goBack()}>취소</button>
            <button className="btn btn-crimson col-4" type="submit">확인</button>
        </div>
    )
}

export default BtnGroup