BtnGroup.js 529 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
import { useHistory } from "react-router-dom";
Kim, Subin's avatar
Kim, Subin committed
2
import styles from "./buttons.module.scss";
Kim, Subin's avatar
Kim, Subin committed
3
4
5
6
7
8

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

    return (
        <div className="d-flex justify-content-around my-4">
Kim, Subin's avatar
Kim, Subin committed
9
            <button className="btn btn-white col-5 shadow-none border-dark" type="button" onClick={() => history.goBack()}>취소</button>
Kim, Subin's avatar
Kim, Subin committed
10
            <button className={`btn btn-crimson col-5 ${styles.disabledBtn}`} type="submit" disabled>등록</button>
Kim, Subin's avatar
Kim, Subin committed
11
12
13
14
15
        </div>
    )
}

export default BtnGroup