Skip to content

Commit 43921cf

Browse files
author
yaroslav8765
committed
feat: Add JsonViewer component
1 parent 75fb7f9 commit 43921cf

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<JsonViewer
3+
class="afcl-json-viewer min-w-[6rem]"
4+
:value="value"
5+
:expandDepth="expandDepth"
6+
copyable
7+
sort
8+
/>
9+
</template>
10+
11+
<script setup lang="ts">
12+
import { JsonViewer } from 'vue3-json-viewer'
13+
14+
defineProps<{
15+
value: any
16+
expandDepth?: number
17+
}>()
18+
19+
</script>

0 commit comments

Comments
 (0)