Skip to content

Commit 459d60b

Browse files
authored
Merge pull request #47 from snoh666/patch-1
Fix README.md so it alignes with name type instead of default value
2 parents ff804a5 + af4f194 commit 459d60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ import ReactJsonView from '@microlink/react-json-view'
6060
| Name | Type | Default | Description |
6161
|:-----------------------------|:-------------------------------------------------|:-------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
6262
| `src` | `JSON Object` | None | This property contains your input JSON. |
63-
| `name` | `string` | `JSX.Element` or `false` | "root" - Contains the name of your root node. Use `null` or `false` for no name. |
63+
| `name` | `string` or `JSX.Element` | `false` | "root" - Contains the name of your root node. Use `null` or `false` for no name. |
6464
| `theme` | `string` | `'rjv-default'` | RJV supports base-16 themes. Check out the list of supported themes [in the demo](https://react-json-view.microlink.io/). A custom "rjv-default" theme applies by default. |
6565
| `style` | `object` | `{}` | Style attributes for react-json-view container. Explicit style attributes will override attributes provided by a theme. |
6666
| `iconStyle` | `string` | `'circle'` | Style of expand/collapse icons. Accepted values are "circle", "triangle" or "square". |

0 commit comments

Comments
 (0)