Skip to content

Commit 11b0dae

Browse files
committed
docs: better demo
1 parent edf8df6 commit 11b0dae

25 files changed

+282
-484
lines changed

Dockerfile

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,46 @@ You can specify a `theme` name or object when you instantiate your rjv component
112112
<ReactJsonView src={my_important_json} theme="monokai" />
113113
```
114114

115-
Check out the list of supported themes [in the component demo](https://react-json-view.microlink.io/).
115+
The following themes are builtin with the library:
116+
117+
- `'apathy'`
118+
- `'ashes'`
119+
- `'atelierDune'`
120+
- `'atelierForest'`
121+
- `'atelierHeath'`
122+
- `'atelierLakeside'`
123+
- `'atelierSeaside'`
124+
- `'bespin'`
125+
- `'brewer'`
126+
- `'bright'`
127+
- `'chalk'`
128+
- `'codeschool'`
129+
- `'colors'`
130+
- `'eighties'`
131+
- `'embers'`
132+
- `'flat'`
133+
- `'google'`
134+
- `'grayscale'`
135+
- `'greenscreen'`
136+
- `'harmonic'`
137+
- `'hopscotch'`
138+
- `'isotope'`
139+
- `'marrakesh'`
140+
- `'mocha'`
141+
- `'monokai'`
142+
- `'ocean'`
143+
- `'paraiso'`
144+
- `'pop'`
145+
- `'railscasts'`
146+
- `'shapeshifter'`
147+
- `'solarized'`
148+
- `'summerfruit'`
149+
- `'threezerotwofour'`
150+
- `'tomorrow'`
151+
- `'tube'`
152+
- `'twilight'`
153+
154+
Check [react-json-view.microlink.io](https://react-json-view.microlink.io/) to see how they look like.
116155

117156
#### Custom theme
118157

demo/dist/main.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)