@react-pdf/types
Advanced tools
Comparing version 2.3.2 to 2.3.3
# @react-pdf/types | ||
## 2.3.3 | ||
### Patch Changes | ||
- [#2276](https://github.com/diegomura/react-pdf/pull/2276) [`1e1fbdc`](https://github.com/diegomura/react-pdf/commit/1e1fbdc3c33ced46d8c7ebba7a196733cb789d59) Thanks [@renchap](https://github.com/renchap)! - add `aspectRatio` style property | ||
* [#2293](https://github.com/diegomura/react-pdf/pull/2293) [`8636812`](https://github.com/diegomura/react-pdf/commit/86368122ed87621d19ae3bc248080e17703d9fcb) Thanks [@BryanAbate](https://github.com/BryanAbate)! - fix type for `getRegisteredFonts` method | ||
## 2.3.2 | ||
@@ -4,0 +12,0 @@ |
@@ -82,3 +82,3 @@ export type FontStyle = 'normal' | 'italic' | 'oblique'; | ||
getEmojiSource: () => EmojiSource; | ||
getRegisteredFonts: () => FontInstance[]; | ||
getRegisteredFonts: () => Record<string, FontInstance>; | ||
getRegisteredFontFamilies: () => string[]; | ||
@@ -85,0 +85,0 @@ getHyphenationCallback: () => HyphenationCallback; |
{ | ||
"name": "@react-pdf/types", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "React-pdf TypeScript definitions", |
@@ -21,2 +21,3 @@ export interface Style { | ||
aspectRatio?: number | string; | ||
bottom?: number | string; | ||
@@ -23,0 +24,0 @@ display?: 'flex' | 'none'; |
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
17422
478