-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build all required files and push version 0.4.0 to npm
- Loading branch information
David Kucsai
committed
Feb 12, 2022
1 parent
bebcafb
commit ddcba28
Showing
34 changed files
with
670 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,207 @@ | ||
[@david.kucsai/react-pdf-table](../README.md) / [Exports](../modules.md) / DataTableCellProps | ||
|
||
# Interface: DataTableCellProps | ||
|
||
## Hierarchy | ||
|
||
- [`TableCellProps`](TableCellProps.md) | ||
|
||
↳ **`DataTableCellProps`** | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [data](DataTableCellProps.md#data) | ||
- [fontSize](DataTableCellProps.md#fontsize) | ||
- [includeBottomBorder](DataTableCellProps.md#includebottomborder) | ||
- [includeLeftBorder](DataTableCellProps.md#includeleftborder) | ||
- [includeRightBorder](DataTableCellProps.md#includerightborder) | ||
- [includeTopBorder](DataTableCellProps.md#includetopborder) | ||
- [isHeader](DataTableCellProps.md#isheader) | ||
- [style](DataTableCellProps.md#style) | ||
- [textAlign](DataTableCellProps.md#textalign) | ||
- [weighting](DataTableCellProps.md#weighting) | ||
|
||
### Methods | ||
|
||
- [getContent](DataTableCellProps.md#getcontent) | ||
|
||
## Properties | ||
|
||
### data | ||
|
||
• `Optional` **data**: `any` | ||
|
||
The data associated with the cell. | ||
|
||
#### Defined in | ||
|
||
[src/DataTableCell.tsx:8](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L8) | ||
|
||
___ | ||
|
||
### fontSize | ||
|
||
• `Optional` **fontSize**: `string` \| `number` | ||
|
||
The font-size to apply to the cell. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[fontSize](TableCellProps.md#fontsize) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:56](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L56) | ||
|
||
___ | ||
|
||
### includeBottomBorder | ||
|
||
• `Optional` **includeBottomBorder**: `boolean` | ||
|
||
Include the bottom border. Default true. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[includeBottomBorder](TableCellProps.md#includebottomborder) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:23](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L23) | ||
|
||
___ | ||
|
||
### includeLeftBorder | ||
|
||
• `Optional` **includeLeftBorder**: `boolean` | ||
|
||
Include the left border. Default true. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[includeLeftBorder](TableCellProps.md#includeleftborder) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:28](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L28) | ||
|
||
___ | ||
|
||
### includeRightBorder | ||
|
||
• `Optional` **includeRightBorder**: `boolean` | ||
|
||
Include the right border. Default true. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[includeRightBorder](TableCellProps.md#includerightborder) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:18](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L18) | ||
|
||
___ | ||
|
||
### includeTopBorder | ||
|
||
• `Optional` **includeTopBorder**: `boolean` | ||
|
||
Include the top border. Default true. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[includeTopBorder](TableCellProps.md#includetopborder) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:13](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L13) | ||
|
||
___ | ||
|
||
### isHeader | ||
|
||
• `Optional` **isHeader**: `boolean` | ||
|
||
Whether this is a header cell or not. If not defined it will be false. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[isHeader](TableCellProps.md#isheader) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:51](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L51) | ||
|
||
___ | ||
|
||
### style | ||
|
||
• `Optional` **style**: `Style` \| `Style`[] | ||
|
||
Extra styling to apply. These will override existing style with the same key. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[style](TableCellProps.md#style) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:41](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L41) | ||
|
||
___ | ||
|
||
### textAlign | ||
|
||
• `Optional` **textAlign**: ``"left"`` \| ``"center"`` \| ``"right"`` | ||
|
||
How to align the text | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[textAlign](TableCellProps.md#textalign) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:46](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L46) | ||
|
||
___ | ||
|
||
### weighting | ||
|
||
• `Optional` **weighting**: `number` | ||
|
||
The weighting of a cell based on the flex layout style. | ||
This value is between 0..1, if not specified 1 is assumed, this will take up the remaining available space. | ||
|
||
#### Inherited from | ||
|
||
[TableCellProps](TableCellProps.md).[weighting](TableCellProps.md#weighting) | ||
|
||
#### Defined in | ||
|
||
[src/TableCell.tsx:36](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L36) | ||
|
||
## Methods | ||
|
||
### getContent | ||
|
||
▸ **getContent**(`data`): `ReactNode` \| `Element` | ||
|
||
The content to display for this cell. | ||
|
||
#### Parameters | ||
|
||
| Name | Type | Description | | ||
| :------ | :------ | :------ | | ||
| `data` | `any` | the data passed in. | | ||
|
||
#### Returns | ||
|
||
`ReactNode` \| `Element` | ||
|
||
#### Defined in | ||
|
||
[src/DataTableCell.tsx:14](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L14) |
Oops, something went wrong.