@react-pdf/types
Advanced tools
Comparing version 2.3.0 to 2.3.1
# @react-pdf/types | ||
## 2.3.1 | ||
### Patch Changes | ||
- [#2252](https://github.com/diegomura/react-pdf/pull/2252) [`47e91cb`](https://github.com/diegomura/react-pdf/commit/47e91cbd8016046bb4e8389ba0d1c7ede9edce59) Thanks [@jeetiss](https://github.com/jeetiss)! - implement function as emoji source to build more complex urls | ||
## 2.3.0 | ||
@@ -4,0 +10,0 @@ |
@@ -49,7 +49,13 @@ export type FontStyle = 'normal' | 'italic' | 'oblique'; | ||
interface EmojiSource { | ||
interface EmojiSourceUrl { | ||
url: string; | ||
format: string; | ||
format?: string; | ||
} | ||
interface EmojiSourceBuilder { | ||
builder: (code: string) => string; | ||
} | ||
type EmojiSource = EmojiSourceUrl | EmojiSourceBuilder; | ||
interface SingleLoad { | ||
@@ -56,0 +62,0 @@ family: string; |
{ | ||
"name": "@react-pdf/types", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"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
16552
477