Skip to content

Commit 860c64d

Browse files
Add demo link
1 parent 8de5233 commit 860c64d

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

README.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ ReactDatatable is a component which provide ability to create multifunctional ta
1111
* Minimal design
1212
* Fully controllable via optional props and callbacks
1313

14+
## Example
15+
[https://ashvin27.github.io/react-datatable/example/](https://ashvin27.github.io/react-datatable/example/)
16+
1417
## Usage
1518

1619
```js
@@ -161,11 +164,32 @@ or
161164
var ReactDatatable = require('@ashvin27/react-datatable')
162165
```
163166
## Props
164-
| Name | Type | Description
165-
| ------------- | ------------- | ------------- |
166-
| config | Object[] | This props will used to specify datatable configuration
167-
| records | Object[] | This props will used to pass records/data to datatable
168-
| columns | Object[] | This props will used to specify datatable column configuration
167+
<table class="table table-bordered table-striped">
168+
<thead>
169+
<tr>
170+
<th>Name</th>
171+
<th>Type</th>
172+
<th>Description</th>
173+
</tr>
174+
</thead>
175+
<tbody>
176+
<tr>
177+
<td>config</td>
178+
<td>Object[]</td>
179+
<td>This props will used to specify datatable configuration</td>
180+
</tr>
181+
<tr>
182+
<td>records</td>
183+
<td>Object[]</td>
184+
<td>This props will used to pass records/data to datatable</td>
185+
</tr>
186+
<tr>
187+
<td>columns</td>
188+
<td>Object[]</td>
189+
<td>This props will used to specify datatable column configuration</td>
190+
</tr>
191+
</tbody>
192+
</table>
169193

170194
## Options
171195
| Name | Type | default | Description

0 commit comments

Comments
 (0)