Fakultas Ilmu Komputer UI

Commit a80384bd authored by FadhilP's avatar FadhilP
Browse files

[REFACTOR] Add back arrow and remove nav button

parent 1976ae4f
......@@ -2,8 +2,9 @@ import React from "react";
import { css } from "@emotion/core";
import { ErrorDiv } from "../../component/html/html";
import FormBank from "./FormBank";
import LinkYellow from "../../component/LinkYellow";
import useSendData from "../../utils/useSendData";
import { Link } from "@reach/router";
import ArrowBackIcon from "@material-ui/icons/ArrowBack";
const TambahBank = () => {
const url = `${process.env.REACT_APP_BASE_URL}/bank-account-transfer-destinations/`;
......@@ -38,22 +39,23 @@ const TambahBank = () => {
<div
css={css`
font-size: 35px;
font-style: normal;
font-weight: 300;
font-size: 2.5rem;
line-height: 3.4rem;
`}
>
TAMBAH BANK
</div>
<div
css={css`
width: 35%;
display: flex;
flex-direction: row;
margin-bottom: 2rem;
margin-top: 1rem;
`}
>
<LinkYellow to="/bank/tambah">TAMBAH</LinkYellow>
<LinkYellow to="/bank">LIHAT</LinkYellow>
<Link to="/bank" style={{ color: "#000000" }}>
<ArrowBackIcon fontSize="large" />
</Link>
<div
css={css`
display: inline;
margin-left: 2rem;
`}
>
TAMBAH BANK
</div>
</div>
<FormBank {...{ onSubmit }} />
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment