@react-pdf/types
Advanced tools
Comparing version 2.4.1 to 2.5.0
# @react-pdf/types | ||
## 2.5.0 | ||
### Minor Changes | ||
- [#2723](https://github.com/diegomura/react-pdf/pull/2723) [`22a34a9`](https://github.com/diegomura/react-pdf/commit/22a34a91b16a201cd8288e0dbea9368b12ca73f5) Thanks [@hendrikmolder](https://github.com/hendrikmolder)! - Allow passing a string array to fontFamily | ||
## 2.4.1 | ||
@@ -4,0 +10,0 @@ |
@@ -23,3 +23,3 @@ export type FontStyle = 'normal' | 'italic' | 'oblique'; | ||
src: string; | ||
fontFamily: string; | ||
fontFamily: string | string[]; | ||
fontStyle: FontStyle; | ||
@@ -26,0 +26,0 @@ fontWeight: number; |
@@ -7,5 +7,5 @@ type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; | ||
type SourceBlob = Blob | ||
type SourceBlob = Blob; | ||
type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' } | ||
type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' }; | ||
@@ -12,0 +12,0 @@ type SourceURLObject = { |
{ | ||
"name": "@react-pdf/types", | ||
"version": "2.4.1", | ||
"version": "2.5.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "React-pdf TypeScript definitions", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20305