@react-pdf/types
Advanced tools
Comparing version 2.0.0-beta.17 to 2.0.0-beta.18
@@ -57,2 +57,4 @@ export type FontStyle = 'normal' | 'italic' | 'oblique'; | ||
src: string; | ||
fontStyle?: string; | ||
fontWeight?: string | number; | ||
[key: string]: any; | ||
@@ -59,0 +61,0 @@ } |
{ | ||
"name": "@react-pdf/types", | ||
"version": "2.0.0-beta.17", | ||
"version": "2.0.0-beta.18", | ||
"license": "MIT", | ||
@@ -9,3 +9,3 @@ "author": "Diego Muracciole <diegomuracciole@gmail.com>", | ||
"main": "index.d.ts", | ||
"gitHead": "db65b560de8295a41a5117e2b97ce68198e334c6" | ||
"gitHead": "001b9f0769b75b6abc49cade7237a39b22a1d481" | ||
} |
@@ -55,5 +55,8 @@ export type Orientation = 'portrait' | 'landscape'; | ||
type StaticSize = number | string; | ||
export type PageSize = | ||
| StandardPageSize | ||
| [number, number] | ||
| { width: number; height: number }; | ||
| [StaticSize] | ||
| [StaticSize, StaticSize] | ||
| { width: StaticSize; height?: StaticSize }; |
@@ -6,3 +6,3 @@ export interface SVGPresentationAttributes { | ||
transform?: string; | ||
strokeDashArray?: string; | ||
strokeDasharray?: string; | ||
opacity?: string | number; | ||
@@ -9,0 +9,0 @@ strokeWidth?: string | number; |
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
13500
426