Skip to content

Commit ed02e19

Browse files
authored
Update README.md
1 parent 0aea68a commit ed02e19

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ export default class DataFactory {
8989

9090
# API
9191
Table
92-
Property | Description | Type | Default
92+
93+
| Property | Description | Type | Default |
9394
---|---|---|---
9495
dataSource | data record array to be rendered | any[] | []
9596
columns | columns of table | Column[] | []
@@ -98,8 +99,9 @@ renderCell | render function | function | undefined
9899
height | table height | number | 240
99100

100101
Column
101-
Property | Description | Type | Default
102+
103+
| Property | Description | Type | Default |
102104
---|---|---|---
103105
title | title of this column | string | -
104106
dataIndex | display field of the data record | string | -
105-
width | width of this column | number | -
107+
width | width of this column | number | -

0 commit comments

Comments
 (0)