renamed directory

This commit is contained in:
Jan Prochazka
2021-04-05 09:14:02 +02:00
parent 33062da66d
commit 853eee6701
16 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
<script>
import JSONNested from './JSONNested.svelte';
export let key, value, isParentExpanded, isParentArray, nodeType;
export let expanded = false;
$: keys = Object.getOwnPropertyNames(value);
function getValue(key) {
return value[key];
}
</script>
<JSONNested
{key}
{expanded}
{isParentExpanded}
{isParentArray}
{keys}
previewKeys={keys}
{getValue}
label="{nodeType} "
bracketOpen={'{'}
bracketClose={'}'}
/>