You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a React component for JSON viewer, but not only a JSON viewer.
9
+
`@textea/json-viewer` is a React component that can be used to view and display any kind of data, not just JSON.
10
10
11
11
~~Json Viewer?~~
12
12
**ANY Data Viewer** ✅
13
13
14
-
> This is v2 branch with fancy features like 100% TypeScript, lightly code and customizable component support.
15
-
>
16
-
> If you are looking for v1 version based on [mac-s-g/react-json-view](https://github.com/mac-s-g/react-json-view),
17
-
> Please see [v1.x](https://github.com/TexteaInc/json-viewer/tree/v1.x).
18
-
19
14
[](https://stackblitz.com/edit/textea-json-viewer-v2-afaey9?file=pages%2Findex.js)
20
15
21
-
## Usage
16
+
## Features 🚀
22
17
23
-
`@textea/json-viewer` is using [Material-UI](https://mui.com/) as the base component library, so you need to install it and its peer dependencies first.
18
+
- 🦾 100% TypeScript
19
+
- 🎨 Customizable: Key, value, editable, copy, select... Anything you can think of!
20
+
- 🌈 Theme support: light or dark, or use [Base16](https://github.com/chriskempson/base16) themes.
21
+
- ⚛️ SSR Ready
22
+
- 📋 Copy to Clipboard
23
+
- 🔍 Inspect anything: `Object`, `Array`, primitive types, and even `Map` and `Set`.
24
+
- 📊 Metadata preview: Total items, length of string...
25
+
- ✏️ Editor: Comes with an editor for basic types, which you can also customize to fit your use case.
24
26
25
-
### NPM
27
+
##Installation
26
28
27
-
```shell
29
+
`@textea/json-viewer` is using [Material-UI](https://mui.com/) as the base component library, so you need to install it and its peer dependencies first.
0 commit comments