mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-31 12:29:26 +03:00
реорганизация файлов проекта
This commit is contained in:
14
src/pages/About.svelte
Normal file
14
src/pages/About.svelte
Normal file
@@ -0,0 +1,14 @@
|
||||
<script>
|
||||
import Card from "../components/Card.svelte";
|
||||
|
||||
export let wigetsUpdate;
|
||||
export let layoutJson;
|
||||
|
||||
export let showModal = () => {};
|
||||
export let syntaxHighlight = (json) => {};
|
||||
</script>
|
||||
|
||||
<button on:click={() => showModal()} type="button"> Toggle modal </button>
|
||||
<Card title="Редактор JSON">
|
||||
<textarea on:input={wigetsUpdate} rows="10" class="jsn-ipt w-full" id="text1">{syntaxHighlight(JSON.stringify(layoutJson))}</textarea>
|
||||
</Card>
|
||||
Reference in New Issue
Block a user