Skip to content

Commit

Permalink
update: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
npv2k1 committed Sep 5, 2023
1 parent c508fe7 commit d53747d
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,30 @@ npm install @pnstack/react-react-native-table
## Usage

```js
import { multiply } from '@pnstack/react-react-native-table';

// ...

const result = await multiply(3, 7);
<Table
columns={[
{
title: 'id',
key: 'id',
dataIndex: 'id',
},
{
title: 'Name',
key: 'name',
dataIndex: 'name',
},
]}
dataSource={[
{
id: 1,
name: 'name 1',
},
{
id: 2,
name: 'name 2',
},
]}
/>
```

## Contributing
Expand Down

0 comments on commit d53747d

Please sign in to comment.