import React from 'react'; import { AnchorButton } from '@blueprintjs/core'; import { DialogContent, PdfDocumentPreview, T } from 'components'; import { usePdfEstimate } from 'hooks/query'; import withDialogActions from 'containers/Dialog/withDialogActions'; import { compose } from 'utils'; function EstimatePdfPreviewDialogContent({ subscriptionForm: { estimateId }, dialogName, // #withDialogActions closeDialog, }) { const { isLoading, pdfUrl } = usePdfEstimate(estimateId); return (
); } export default compose(withDialogActions)(EstimatePdfPreviewDialogContent);