Files
bigcapital/client/src/containers/Sales/Estimates/EstimatesLanding/EstimatesEmptyStatus.js
2021-06-13 13:53:17 +02:00

36 lines
941 B
JavaScript

import React from 'react';
import { Button, Intent } from '@blueprintjs/core';
import { useHistory } from 'react-router-dom';
import { EmptyStatus } from 'components';
import { FormattedMessage as T } from 'components';
export default function EstimatesEmptyStatus() {
const history = useHistory();
return (
<EmptyStatus
title={<T id={'it_s_time_to_send_estimates_to_your_customers'} />}
description={
<p>
<T id={'estimate_is_used_to_create_bid_proposal_or_quote'} />
</p>
}
action={
<>
<Button
intent={Intent.PRIMARY}
large={true}
onClick={() => {
history.push('/estimates/new');
}}
>
<T id={'new_sale_estimate'} />
</Button>
<Button intent={Intent.NONE} large={true}>
<T id={'learn_more'} />
</Button>
</>
}
/>
);
}