Skip to content

Commit c4f7d44

Browse files
committed
Readme updated
1 parent 25a5a00 commit c4f7d44

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,13 @@ You can send a JSON String to a specific cell and will be rendered correctly wit
8989

9090
```javascript
9191
let json = {
92-
"Key1": {"id":10,"values":"1-2"},
93-
"Key2":{},
94-
"Key3":"(Zone 1)",
95-
"description":"","array":[100],
96-
"array2":[],
97-
"Object":[{"id":1000,"values":"K-1"}]};
92+
"Key1": {"id":10,"values":"1-2"},
93+
"Key2":{},
94+
"Key3":"(Zone 1)",
95+
"description":"","array":[100],
96+
"array2":[],
97+
"Object":[{"id":1000,"values":"K-1"}]
98+
};
9899
```
99100

100101
Note that you should convert JSON to a String using the function stringify(). Then, you'll have the result:
@@ -108,8 +109,9 @@ false -> red
108109
omit the key and the text will be black by default
109110

110111
```javascript
111-
{ number: 12,
112-
name:"Buffon",
112+
{
113+
number: 1,
114+
name:() => <div><a href="#">Buffon</a></div>,
113115
position: JSON.stringify(json),
114116
success: true
115117
}
@@ -167,8 +169,8 @@ Changes the background to white and the text to blue
167169

168170
# What's new
169171

170-
v0.9.0
171-
* Html render -> send html from a func: htmlTest = () => <div><a href="#">Yep</a></div>
172+
v0.9.1
173+
* Html render -> send html from a func: `htmlTest = () => <div><a href="#">Yep</a></div>`
172174
* Dependencies updated
173175
* Overall package size optimized
174176

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-js-table-with-csv-dl",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "React JS tables and log viewer with stats if needed. Has the functionality to dowload table contents in CSV file with data stored in class prop.",
55
"main": "build/index.js",
66
"peerDependencies": {

0 commit comments

Comments
 (0)