https://github.com/enescang/react-pdf-table
Simple table generator for @react-pdf/renderer
https://github.com/enescang/react-pdf-table
pdf-table react-components react-pdf react-pdf-table reactjs
Last synced: 10 months ago
JSON representation
Simple table generator for @react-pdf/renderer
- Host: GitHub
- URL: https://github.com/enescang/react-pdf-table
- Owner: enescang
- Created: 2021-12-30T18:12:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-19T22:53:07.000Z (over 3 years ago)
- Last Synced: 2025-03-24T17:49:45.151Z (11 months ago)
- Topics: pdf-table, react-components, react-pdf, react-pdf-table, reactjs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/react-pdf-table
- Size: 80.1 KB
- Stars: 13
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
React PDF Table Generator
--
## 🏁 Getting Started
react-pdf-table is super simple table generator for **@react-pdf/renderer**
## ✔️ Install
```shell
npm install react-pdf-table --save
```
## 📒Usage
This package has only 2 main component for creating table. These are
TableRow and TableCell.
### Import
```js
import ReactPdfTable from "react-pdf-table";
```
### Create Simple Row
Any number of cells can be created in a row.
```js
...
...
```
Actually, that's all. Also react-pdf-table is supporting nested tables.
## Nested Table
```jsx
```
//Rest of document will be ready ASAP.
> Written with [StackEdit](https://stackedit.io/).