BtnGroup.js 452 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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