Add min cheque value and view contract at the end of form flow
This commit is contained in:
17
frontend/src/components/PdfViewer/index.tsx
Normal file
17
frontend/src/components/PdfViewer/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
export type PdfViewerProps = {
|
||||
file: string;
|
||||
};
|
||||
|
||||
export function PdfViewer({ file }: PdfViewerProps) {
|
||||
return (
|
||||
<div onContextMenu={(e) => e.preventDefault()}>
|
||||
<iframe
|
||||
src={`${file.toString()}#toolbar=0&navpanes=0`}
|
||||
title="Contract PDF"
|
||||
width="100%"
|
||||
height="800px"
|
||||
style={{ border: 0 }}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user