Skip to content

Commit

Permalink
fix: creationDate and modificationDate types (#2544)
Browse files Browse the repository at this point in the history
* renderer: DocumentProps - "creationDate", "modificationDate"

* Create wet-glasses-tickle.md

---------

Co-authored-by: Diego Muracciole <[email protected]>
  • Loading branch information
satelllte and diegomura authored Jan 22, 2024
1 parent 9c95a6b commit b5380a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/wet-glasses-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@react-pdf/render": patch
"@react-pdf/renderer": patch
---

fix: creationDate and modificationDate types
2 changes: 2 additions & 0 deletions packages/renderer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ declare namespace ReactPDF {
keywords?: string;
producer?: string;
language?: string;
creationDate?: Date;
modificationDate?: Date;
pdfVersion?: PDFVersion;
pageMode?: PageMode;
pageLayout?: PageLayout;
Expand Down

0 comments on commit b5380a1

Please sign in to comment.