feat: sent confirmation component

This commit is contained in:
Ruidy 2021-07-15 18:35:42 +02:00
parent 25d43fac6a
commit 2a5f0cbd57

View 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>
]}
/>
);
}