mirror of
https://github.com/documenso/documenso.git
synced 2025-11-21 20:21:38 +10:00
feat: return the necessary information for document preview and download
This commit is contained in:
@ -10,7 +10,7 @@ import { Button } from '@documenso/ui/primitives/button';
|
||||
import { useToast } from '@documenso/ui/primitives/use-toast';
|
||||
|
||||
export type DocumentDownloadButtonProps = {
|
||||
document: Document & {
|
||||
document: Pick<Document, 'title'> & {
|
||||
documentData: DocumentData;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user