We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff3c2e commit d775393Copy full SHA for d775393
1 file changed
src/components/json-view/JsonView.stories.tsx
@@ -47,7 +47,7 @@ export const Collapsed = () => {
47
}
48
49
return <Card color={"secondary"} w={"500px"}>
50
- <JsonView value={value} collapsed={1}/>
+ <JsonView value={value} collapsed={2}/>
51
</Card>
52
53
@@ -67,3 +67,13 @@ export const WithDataTypes = () => {
67
<JsonView value={value} displayDataTypes displayObjectSize/>
68
69
70
+
71
+export const Primitive = () => {
72
73
+ const value = "hello"
74
75
+ return <Card color={"secondary"} w={"500px"}>
76
+ {/**@ts-ignore**/}
77
+ <JsonView value={value} displayDataTypes displayObjectSize/>
78
+ </Card>
79
+}
0 commit comments