1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-19 22:18:03 +00:00

Universal code viewer

This commit is contained in:
2023-01-15 12:09:27 +01:00
parent f9f1bc168c
commit 2e312dc7cb
3 changed files with 26 additions and 11 deletions

View File

@ -5,7 +5,7 @@
import { input } from '../../actions';
import ObjectGrid from '../../components/objectgrid.svelte';
import Icon from '../../components/icon.svelte';
import JsonViewer from '../../components/jsonviewer.svelte';
import CodeViewer from '../../components/codeviewer.svelte';
export let collection;
@ -136,7 +136,7 @@
</div>
</div>
<JsonViewer bind:json />
<CodeViewer bind:code={json} language="json" />
<style>
.find {