mirror of
https://github.com/rjNemo/melon_frontend
synced 2026-06-12 13:26:43 +00:00
feat: sent confirmation component
This commit is contained in:
parent
25d43fac6a
commit
2a5f0cbd57
1 changed files with 18 additions and 0 deletions
18
src/pages/bill/billSent.tsx
Normal file
18
src/pages/bill/billSent.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
import { Button, Result } from 'antd';
|
||||||
|
import { useHistory } from 'react-router-dom';
|
||||||
|
|
||||||
|
export function BillSent() {
|
||||||
|
const history = useHistory();
|
||||||
|
return (
|
||||||
|
<Result
|
||||||
|
status="success"
|
||||||
|
title="Bill sent"
|
||||||
|
subTitle="The bill is on its way to your customer"
|
||||||
|
extra={[
|
||||||
|
<Button key="back" type="primary" onClick={() => history.push('/')}>
|
||||||
|
Go Back Home
|
||||||
|
</Button>
|
||||||
|
]}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue