Skip to content

Commit

Permalink
docs: better demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 23, 2024
1 parent edf8df6 commit 11b0dae
Show file tree
Hide file tree
Showing 25 changed files with 282 additions and 484 deletions.
15 changes: 0 additions & 15 deletions Dockerfile

This file was deleted.

41 changes: 40 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,46 @@ You can specify a `theme` name or object when you instantiate your rjv component
<ReactJsonView src={my_important_json} theme="monokai" />
```

Check out the list of supported themes [in the component demo](https://react-json-view.microlink.io/).
The following themes are builtin with the library:

- `'apathy'`
- `'ashes'`
- `'atelierDune'`
- `'atelierForest'`
- `'atelierHeath'`
- `'atelierLakeside'`
- `'atelierSeaside'`
- `'bespin'`
- `'brewer'`
- `'bright'`
- `'chalk'`
- `'codeschool'`
- `'colors'`
- `'eighties'`
- `'embers'`
- `'flat'`
- `'google'`
- `'grayscale'`
- `'greenscreen'`
- `'harmonic'`
- `'hopscotch'`
- `'isotope'`
- `'marrakesh'`
- `'mocha'`
- `'monokai'`
- `'ocean'`
- `'paraiso'`
- `'pop'`
- `'railscasts'`
- `'shapeshifter'`
- `'solarized'`
- `'summerfruit'`
- `'threezerotwofour'`
- `'tomorrow'`
- `'tube'`
- `'twilight'`

Check [react-json-view.microlink.io](https://react-json-view.microlink.io/) to see how they look like.

#### Custom theme

Expand Down
6 changes: 3 additions & 3 deletions demo/dist/main.js

Large diffs are not rendered by default.

Loading

0 comments on commit 11b0dae

Please sign in to comment.