Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit ddcba28

Browse files
author
David Kucsai
committed
Build all required files and push version 0.4.0 to npm
1 parent bebcafb commit ddcba28

34 files changed

+670
-86
lines changed

docs/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,4 +345,4 @@
345345

346346

347347

348-
window['STORIES'] = [];</script><script src="runtime~main.89de9395.iframe.bundle.js"></script><script src="vendors~main.6d5afb8e.iframe.bundle.js"></script><script src="main.2dab1aa2.iframe.bundle.js"></script></body></html>
348+
window['STORIES'] = [];</script><script src="runtime~main.89de9395.iframe.bundle.js"></script><script src="vendors~main.6d5afb8e.iframe.bundle.js"></script><script src="main.dfdc807a.iframe.bundle.js"></script></body></html>

docs/main.2dab1aa2.iframe.bundle.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/main.dfdc807a.iframe.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/typedoc/classes/DataTableCell.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This component is used to display data in the the {@see TableRow} component.
66

77
## Hierarchy
88

9-
- `PureComponent`<`DataTableCellProps`\>
9+
- `PureComponent`<[`DataTableCellProps`](../interfaces/DataTableCellProps.md)\>
1010

1111
**`DataTableCell`**
1212

@@ -30,7 +30,7 @@ This component is used to display data in the the {@see TableRow} component.
3030

3131
| Name | Type |
3232
| :------ | :------ |
33-
| `props` | `Readonly`<`DataTableCellProps`\> |
33+
| `props` | `Readonly`<[`DataTableCellProps`](../interfaces/DataTableCellProps.md)\> |
3434

3535
#### Inherited from
3636

@@ -50,7 +50,7 @@ node_modules/@types/react/index.d.ts:478
5050

5151
| Name | Type |
5252
| :------ | :------ |
53-
| `props` | `DataTableCellProps` |
53+
| `props` | [`DataTableCellProps`](../interfaces/DataTableCellProps.md) |
5454
| `context?` | `any` |
5555

5656
#### Inherited from
@@ -77,4 +77,4 @@ React.PureComponent.render
7777

7878
#### Defined in
7979

80-
[src/DataTableCell.tsx:21](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/DataTableCell.tsx#L21)
80+
[src/DataTableCell.tsx:21](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L21)

docs/typedoc/classes/Table.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Hierarchy
66

7-
- `PureComponent`<`TableProps`\>
7+
- `PureComponent`<[`TableProps`](../interfaces/TableProps.md)\>
88

99
**`Table`**
1010

@@ -28,7 +28,7 @@
2828

2929
| Name | Type |
3030
| :------ | :------ |
31-
| `props` | `Readonly`<`TableProps`\> |
31+
| `props` | `Readonly`<[`TableProps`](../interfaces/TableProps.md)\> |
3232

3333
#### Inherited from
3434

@@ -48,7 +48,7 @@ node_modules/@types/react/index.d.ts:478
4848

4949
| Name | Type |
5050
| :------ | :------ |
51-
| `props` | `TableProps` |
51+
| `props` | [`TableProps`](../interfaces/TableProps.md) |
5252
| `context?` | `any` |
5353

5454
#### Inherited from
@@ -75,4 +75,4 @@ React.PureComponent.render
7575

7676
#### Defined in
7777

78-
[src/Table.tsx:14](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/Table.tsx#L14)
78+
[src/Table.tsx:34](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/Table.tsx#L34)

docs/typedoc/classes/TableBody.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This component displays the data as {@see TableRow}s.
66

77
## Hierarchy
88

9-
- `PureComponent`<`InternalBodyProps`\>
9+
- `PureComponent`<[`TableBodyProps`](../interfaces/TableBodyProps.md)\>
1010

1111
**`TableBody`**
1212

@@ -30,11 +30,11 @@ This component displays the data as {@see TableRow}s.
3030

3131
| Name | Type |
3232
| :------ | :------ |
33-
| `props` | `Readonly`<`InternalBodyProps`\> |
33+
| `props` | `Readonly`<[`TableBodyProps`](../interfaces/TableBodyProps.md)\> |
3434

3535
#### Inherited from
3636

37-
React.PureComponent<InternalBodyProps\>.constructor
37+
React.PureComponent<TableBodyProps\>.constructor
3838

3939
#### Defined in
4040

@@ -50,12 +50,12 @@ node_modules/@types/react/index.d.ts:478
5050

5151
| Name | Type |
5252
| :------ | :------ |
53-
| `props` | `InternalBodyProps` |
53+
| `props` | [`TableBodyProps`](../interfaces/TableBodyProps.md) |
5454
| `context?` | `any` |
5555

5656
#### Inherited from
5757

58-
React.PureComponent<InternalBodyProps\>.constructor
58+
React.PureComponent<TableBodyProps\>.constructor
5959

6060
#### Defined in
6161

@@ -77,4 +77,4 @@ React.PureComponent.render
7777

7878
#### Defined in
7979

80-
[src/TableBody.tsx:24](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/TableBody.tsx#L24)
80+
[src/TableBody.tsx:22](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableBody.tsx#L22)

docs/typedoc/classes/TableCell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ React.PureComponent.render
7777

7878
#### Defined in
7979

80-
[src/TableCell.tsx:63](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/TableCell.tsx#L63)
80+
[src/TableCell.tsx:63](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L63)

docs/typedoc/classes/TableHeader.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This component displays the titles for the rows.
66

77
## Hierarchy
88

9-
- `PureComponent`<`TableHeaderProps`\>
9+
- `PureComponent`<[`TableHeaderProps`](../interfaces/TableHeaderProps.md)\>
1010

1111
**`TableHeader`**
1212

@@ -30,7 +30,7 @@ This component displays the titles for the rows.
3030

3131
| Name | Type |
3232
| :------ | :------ |
33-
| `props` | `Readonly`<`TableHeaderProps`\> |
33+
| `props` | `Readonly`<[`TableHeaderProps`](../interfaces/TableHeaderProps.md)\> |
3434

3535
#### Inherited from
3636

@@ -50,7 +50,7 @@ node_modules/@types/react/index.d.ts:478
5050

5151
| Name | Type |
5252
| :------ | :------ |
53-
| `props` | `TableHeaderProps` |
53+
| `props` | [`TableHeaderProps`](../interfaces/TableHeaderProps.md) |
5454
| `context?` | `any` |
5555

5656
#### Inherited from
@@ -77,4 +77,4 @@ React.PureComponent.render
7777

7878
#### Defined in
7979

80-
[src/TableHeader.tsx:12](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/TableHeader.tsx#L12)
80+
[src/TableHeader.tsx:12](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableHeader.tsx#L12)
Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,207 @@
1+
[@david.kucsai/react-pdf-table](../README.md) / [Exports](../modules.md) / DataTableCellProps
2+
3+
# Interface: DataTableCellProps
4+
5+
## Hierarchy
6+
7+
- [`TableCellProps`](TableCellProps.md)
8+
9+
**`DataTableCellProps`**
10+
11+
## Table of contents
12+
13+
### Properties
14+
15+
- [data](DataTableCellProps.md#data)
16+
- [fontSize](DataTableCellProps.md#fontsize)
17+
- [includeBottomBorder](DataTableCellProps.md#includebottomborder)
18+
- [includeLeftBorder](DataTableCellProps.md#includeleftborder)
19+
- [includeRightBorder](DataTableCellProps.md#includerightborder)
20+
- [includeTopBorder](DataTableCellProps.md#includetopborder)
21+
- [isHeader](DataTableCellProps.md#isheader)
22+
- [style](DataTableCellProps.md#style)
23+
- [textAlign](DataTableCellProps.md#textalign)
24+
- [weighting](DataTableCellProps.md#weighting)
25+
26+
### Methods
27+
28+
- [getContent](DataTableCellProps.md#getcontent)
29+
30+
## Properties
31+
32+
### data
33+
34+
`Optional` **data**: `any`
35+
36+
The data associated with the cell.
37+
38+
#### Defined in
39+
40+
[src/DataTableCell.tsx:8](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L8)
41+
42+
___
43+
44+
### fontSize
45+
46+
`Optional` **fontSize**: `string` \| `number`
47+
48+
The font-size to apply to the cell.
49+
50+
#### Inherited from
51+
52+
[TableCellProps](TableCellProps.md).[fontSize](TableCellProps.md#fontsize)
53+
54+
#### Defined in
55+
56+
[src/TableCell.tsx:56](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L56)
57+
58+
___
59+
60+
### includeBottomBorder
61+
62+
`Optional` **includeBottomBorder**: `boolean`
63+
64+
Include the bottom border. Default true.
65+
66+
#### Inherited from
67+
68+
[TableCellProps](TableCellProps.md).[includeBottomBorder](TableCellProps.md#includebottomborder)
69+
70+
#### Defined in
71+
72+
[src/TableCell.tsx:23](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L23)
73+
74+
___
75+
76+
### includeLeftBorder
77+
78+
`Optional` **includeLeftBorder**: `boolean`
79+
80+
Include the left border. Default true.
81+
82+
#### Inherited from
83+
84+
[TableCellProps](TableCellProps.md).[includeLeftBorder](TableCellProps.md#includeleftborder)
85+
86+
#### Defined in
87+
88+
[src/TableCell.tsx:28](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L28)
89+
90+
___
91+
92+
### includeRightBorder
93+
94+
`Optional` **includeRightBorder**: `boolean`
95+
96+
Include the right border. Default true.
97+
98+
#### Inherited from
99+
100+
[TableCellProps](TableCellProps.md).[includeRightBorder](TableCellProps.md#includerightborder)
101+
102+
#### Defined in
103+
104+
[src/TableCell.tsx:18](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L18)
105+
106+
___
107+
108+
### includeTopBorder
109+
110+
`Optional` **includeTopBorder**: `boolean`
111+
112+
Include the top border. Default true.
113+
114+
#### Inherited from
115+
116+
[TableCellProps](TableCellProps.md).[includeTopBorder](TableCellProps.md#includetopborder)
117+
118+
#### Defined in
119+
120+
[src/TableCell.tsx:13](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L13)
121+
122+
___
123+
124+
### isHeader
125+
126+
`Optional` **isHeader**: `boolean`
127+
128+
Whether this is a header cell or not. If not defined it will be false.
129+
130+
#### Inherited from
131+
132+
[TableCellProps](TableCellProps.md).[isHeader](TableCellProps.md#isheader)
133+
134+
#### Defined in
135+
136+
[src/TableCell.tsx:51](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L51)
137+
138+
___
139+
140+
### style
141+
142+
`Optional` **style**: `Style` \| `Style`[]
143+
144+
Extra styling to apply. These will override existing style with the same key.
145+
146+
#### Inherited from
147+
148+
[TableCellProps](TableCellProps.md).[style](TableCellProps.md#style)
149+
150+
#### Defined in
151+
152+
[src/TableCell.tsx:41](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L41)
153+
154+
___
155+
156+
### textAlign
157+
158+
`Optional` **textAlign**: ``"left"`` \| ``"center"`` \| ``"right"``
159+
160+
How to align the text
161+
162+
#### Inherited from
163+
164+
[TableCellProps](TableCellProps.md).[textAlign](TableCellProps.md#textalign)
165+
166+
#### Defined in
167+
168+
[src/TableCell.tsx:46](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L46)
169+
170+
___
171+
172+
### weighting
173+
174+
`Optional` **weighting**: `number`
175+
176+
The weighting of a cell based on the flex layout style.
177+
This value is between 0..1, if not specified 1 is assumed, this will take up the remaining available space.
178+
179+
#### Inherited from
180+
181+
[TableCellProps](TableCellProps.md).[weighting](TableCellProps.md#weighting)
182+
183+
#### Defined in
184+
185+
[src/TableCell.tsx:36](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L36)
186+
187+
## Methods
188+
189+
### getContent
190+
191+
**getContent**(`data`): `ReactNode` \| `Element`
192+
193+
The content to display for this cell.
194+
195+
#### Parameters
196+
197+
| Name | Type | Description |
198+
| :------ | :------ | :------ |
199+
| `data` | `any` | the data passed in. |
200+
201+
#### Returns
202+
203+
`ReactNode` \| `Element`
204+
205+
#### Defined in
206+
207+
[src/DataTableCell.tsx:14](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L14)

0 commit comments

Comments
 (0)