react-pdf-levelup 2.0.28 → 2.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,33 +109,19 @@ interface PageElementProps {
109
109
  declare const Header: React$1.FC<PageElementProps>;
110
110
  declare const Footer: React$1.FC<PageElementProps>;
111
111
 
112
- interface QRCustomProps {
113
- url: string;
112
+ interface QRProps {
113
+ value: string;
114
114
  size?: number;
115
- colorData?: string;
116
- colorDataBG?: string;
115
+ style?: any;
116
+ colorDark?: string;
117
+ colorLight?: string;
118
+ margin?: number;
117
119
  logo?: string;
118
120
  logoWidth?: number;
119
121
  logoHeight?: number;
120
- margin?: number;
121
122
  errorCorrectionLevel?: "L" | "M" | "Q" | "H";
122
- style?: any;
123
- dotType?: "rounded" | "dots" | "classy" | "classy-rounded" | "square" | "extra-rounded";
124
- cornerSquareType?: "square" | "dot" | "extra-rounded";
125
- cornerDotType?: "square" | "dot";
126
- cornerSquareColor?: string;
127
- cornerDotColor?: string;
128
- logoBG?: string;
129
- logoText?: string;
130
- moveText?: number;
131
- textColor?: string;
132
- fontSize?: number;
133
- fontFamily?: string;
134
- textBackgroundColor?: string;
135
- textPadding?: number;
136
- textBold?: boolean;
137
123
  }
138
- declare const QR: React$1.FC<QRCustomProps>;
124
+ declare const QR: React$1.FC<QRProps>;
139
125
 
140
126
  interface ListProps {
141
127
  children: React$1.ReactNode;
package/dist/index.d.ts CHANGED
@@ -109,33 +109,19 @@ interface PageElementProps {
109
109
  declare const Header: React$1.FC<PageElementProps>;
110
110
  declare const Footer: React$1.FC<PageElementProps>;
111
111
 
112
- interface QRCustomProps {
113
- url: string;
112
+ interface QRProps {
113
+ value: string;
114
114
  size?: number;
115
- colorData?: string;
116
- colorDataBG?: string;
115
+ style?: any;
116
+ colorDark?: string;
117
+ colorLight?: string;
118
+ margin?: number;
117
119
  logo?: string;
118
120
  logoWidth?: number;
119
121
  logoHeight?: number;
120
- margin?: number;
121
122
  errorCorrectionLevel?: "L" | "M" | "Q" | "H";
122
- style?: any;
123
- dotType?: "rounded" | "dots" | "classy" | "classy-rounded" | "square" | "extra-rounded";
124
- cornerSquareType?: "square" | "dot" | "extra-rounded";
125
- cornerDotType?: "square" | "dot";
126
- cornerSquareColor?: string;
127
- cornerDotColor?: string;
128
- logoBG?: string;
129
- logoText?: string;
130
- moveText?: number;
131
- textColor?: string;
132
- fontSize?: number;
133
- fontFamily?: string;
134
- textBackgroundColor?: string;
135
- textPadding?: number;
136
- textBold?: boolean;
137
123
  }
138
- declare const QR: React$1.FC<QRCustomProps>;
124
+ declare const QR: React$1.FC<QRProps>;
139
125
 
140
126
  interface ListProps {
141
127
  children: React$1.ReactNode;