Skip to content

Commit

Permalink
md file update
Browse files Browse the repository at this point in the history
  • Loading branch information
itsaladin committed Sep 9, 2023
1 parent 5f0c1df commit d722aa1
Showing 1 changed file with 99 additions and 3 deletions.
102 changes: 99 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,116 @@

react native responsive,scrollable data table

<table>
<tr>
<td>Uncheck all option</td>
<td>Check all options</td>
<td>Check single options</td>
</tr>
<tr>
<td><img src="https://raw.githubusercontent.com/itsaladin/react-native-tree-menu/main/screenshots/3.png?token=GHSAT0AAAAAACCG26XGOV7B67VQY6UUILVCZHN7UAA" width="250"/></td>
<td><img src="https://raw.githubusercontent.com/itsaladin/react-native-tree-menu/main/screenshots/1.png?token=GHSAT0AAAAAACCG26XHISGUM565NQ54X7W2ZHN7SOA" width="250"/></td>
<td><img src="https://raw.githubusercontent.com/itsaladin/react-native-tree-menu/main/screenshots/2.png?token=GHSAT0AAAAAACCG26XGGXAF6D2YW6SV7TZQZHN7TJA" width="250"/></td>

</tr>
</table>

## Installation

Using Yarn:

```sh
yarn add react-native-fancy-table
```

```sh
npm install react-native-fancy-table
```

## Usage

```js
import { multiply } from 'react-native-fancy-table';
import * as React from 'react';

import { StyleSheet, Text, View } from 'react-native';
import FancyTable from 'react-native-fancy-table';

// ...
export default function App() {
const header = [
' id',
'Roll No',
'Order Qty',
'Line Input',
'Line Balalance',
'Production',
'Sample',
'Killed',
'Missing',
'Buy Date',
'Ship Date',
'Proto No',
'Set Code',
'Destination Place',
'Delivery Place',
'Item Number',
];
const tableBody = [
{
id: 1,
RollNo: '1',
Pdm_ItemCode: '2442010',
description: ' BUET',
LotNo: 'N23060829',
UOM: 'YDS',
RollQty: 55,
RollWidth: '153cm',
RollColor: 'DKT N07A BLACK',
RollShrinkageWarp: '',
RollshrinkageWeft: '',
SupplierId: 380,
supplier: '',
ItemId: 0,
item: 'Fabric',
consignment: '3333',
},
{
id: 1,
RollNo: '1',
Pdm_ItemCode: '2442010',
description: ' BUET',
LotNo: 'N23060829',
UOM: 'YDS',
RollQty: 55,
RollWidth: '153cm',
RollColor: 'DKT N07A BLACK',
RollShrinkageWarp: '',
RollshrinkageWeft: '',
SupplierId: 380,
supplier: '',
ItemId: 0,
item: 'Fabric',
consignment: '3333',
},
];

const result = await multiply(3, 7);
return (
<>
<FancyTable
headerBGColor="silver"
headerFontColor="white"
headerFontSize={15}
bodyFontSize={13}
bodyFontColor="black"
tableHeight={1.4}
header={header}
tableBody={tableBody}
rowWidth={4}
borderColor="gray"
borderWidth={1}
/>
</>
);
}
```

## Contributing
Expand Down

0 comments on commit d722aa1

Please sign in to comment.