File tree Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ ReactDatatable is a component which provide ability to create multifunctional ta
11
11
* Minimal design
12
12
* Fully controllable via optional props and callbacks
13
13
14
+ ## Example
15
+ [ https://ashvin27.github.io/react-datatable/example/ ] ( https://ashvin27.github.io/react-datatable/example/ )
16
+
14
17
## Usage
15
18
16
19
``` js
161
164
var ReactDatatable = require (' @ashvin27/react-datatable' )
162
165
```
163
166
## 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 >
169
193
170
194
## Options
171
195
| Name | Type | default | Description
You can’t perform that action at this time.
0 commit comments