react-pdf-levelup 2.0.14 → 2.0.18

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.
package/dist/index.d.cts DELETED
@@ -1,140 +0,0 @@
1
- import React from 'react';
2
- export { Text, View } from '@react-pdf/renderer';
3
-
4
- interface LayoutPDFProps {
5
- children: React.ReactNode;
6
- size?: string;
7
- orientation?: "portrait" | "landscape";
8
- backgroundColor?: string;
9
- showPageNumbers?: boolean;
10
- style?: any;
11
- }
12
- declare const LayoutPDF: React.FC<LayoutPDFProps>;
13
-
14
- interface ImgProps {
15
- src?: string;
16
- style?: any;
17
- }
18
- declare const Img: React.FC<ImgProps>;
19
-
20
- interface PositionProps {
21
- children: React.ReactNode;
22
- style?: any;
23
- }
24
- declare const Left: React.FC<PositionProps>;
25
- declare const Right: React.FC<PositionProps>;
26
- declare const Center: React.FC<PositionProps>;
27
-
28
- interface TextProps {
29
- children: React.ReactNode;
30
- style?: any;
31
- href?: string;
32
- }
33
- declare const P: React.FC<TextProps>;
34
- declare const H1: React.FC<TextProps>;
35
- declare const H2: React.FC<TextProps>;
36
- declare const H3: React.FC<TextProps>;
37
- declare const H4: React.FC<TextProps>;
38
- declare const H5: React.FC<TextProps>;
39
- declare const H6: React.FC<TextProps>;
40
- declare const Strong: React.FC<TextProps>;
41
- declare const Em: React.FC<TextProps>;
42
- declare const U: React.FC<TextProps>;
43
- declare const Small: React.FC<TextProps>;
44
- declare const Blockquote: React.FC<TextProps>;
45
- declare const Mark: React.FC<TextProps>;
46
- declare const A: React.FC<TextProps>;
47
- declare const BR: React.FC<{
48
- style?: any;
49
- }>;
50
- declare const Span: React.FC<TextProps>;
51
-
52
- interface TableProps {
53
- children: React.ReactNode;
54
- style?: any;
55
- }
56
- interface CellProps {
57
- children?: React.ReactNode;
58
- style?: any;
59
- cellSize?: "small" | "medium" | "large";
60
- width?: string | number;
61
- height?: string | number;
62
- colSpan?: number;
63
- }
64
- declare const Table: React.FC<TableProps>;
65
- declare const Thead: React.FC<TableProps>;
66
- declare const Tbody: React.FC<TableProps>;
67
- declare const Tr: React.FC<TableProps>;
68
- declare const Th: React.FC<CellProps>;
69
- declare const Td: React.FC<CellProps>;
70
-
71
- interface ContainerProps {
72
- children: React.ReactNode;
73
- style?: any;
74
- }
75
- interface RowProps {
76
- children: React.ReactNode;
77
- style?: any;
78
- }
79
- interface ColProps {
80
- children: React.ReactNode;
81
- style?: any;
82
- }
83
- declare const Container: React.FC<ContainerProps>;
84
- declare const Row: React.FC<RowProps>;
85
- declare const Col1: React.FC<ColProps>;
86
- declare const Col2: React.FC<ColProps>;
87
- declare const Col3: React.FC<ColProps>;
88
- declare const Col4: React.FC<ColProps>;
89
- declare const Col5: React.FC<ColProps>;
90
- declare const Col6: React.FC<ColProps>;
91
- declare const Col7: React.FC<ColProps>;
92
- declare const Col8: React.FC<ColProps>;
93
- declare const Col9: React.FC<ColProps>;
94
- declare const Col10: React.FC<ColProps>;
95
- declare const Col11: React.FC<ColProps>;
96
- declare const Col12: React.FC<ColProps>;
97
-
98
- interface PageElementProps {
99
- children: React.ReactNode;
100
- style?: any;
101
- fixed?: boolean;
102
- }
103
- declare const Header: React.FC<PageElementProps>;
104
- declare const Footer: React.FC<PageElementProps>;
105
-
106
- interface QRProps {
107
- value: string;
108
- size?: number;
109
- style?: any;
110
- colorDark?: string;
111
- colorLight?: string;
112
- margin?: number;
113
- logo?: string;
114
- logoWidth?: number;
115
- logoHeight?: number;
116
- errorCorrectionLevel?: "L" | "M" | "Q" | "H";
117
- }
118
- declare const QR: React.FC<QRProps>;
119
-
120
- interface ListProps {
121
- children: React.ReactNode;
122
- style?: any;
123
- start?: number;
124
- type?: "disc" | "circle" | "square" | "decimal" | "lower-alpha" | "upper-alpha" | "lower-roman" | "upper-roman";
125
- }
126
- interface ListItemProps {
127
- children: React.ReactNode;
128
- style?: any;
129
- value?: number | string;
130
- }
131
- declare const UL: React.FC<ListProps>;
132
- declare const OL: React.FC<ListProps>;
133
- declare const LI: React.FC<ListItemProps & {
134
- bulletType?: string;
135
- isOrdered?: boolean;
136
- index?: number;
137
- start?: number;
138
- }>;
139
-
140
- export { A, BR, Blockquote, Center, Col1, Col10, Col11, Col12, Col2, Col3, Col4, Col5, Col6, Col7, Col8, Col9, Container, Em, Footer, H1, H2, H3, H4, H5, H6, Header, Img, LI, LayoutPDF, Left, Mark, OL, P, QR, Right, Row, Small, Span, Strong, Table, Tbody, Td, Th, Thead, Tr, U, UL };