mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-29 16:32:32 +03:00
21 lines
492 B
Svelte
21 lines
492 B
Svelte
|
|
<script context="module">
|
||
|
|
import { WSpush } from "./App.svelte";
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export let title;
|
||
|
|
export let value;
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<div class="container">
|
||
|
|
<div class="block-psn-center-when-md">
|
||
|
|
<div class="md:w-1/3">
|
||
|
|
<!-- svelte-ignore a11y-label-has-associated-control -->
|
||
|
|
<label class="descr-gray">{title}</label>
|
||
|
|
</div>
|
||
|
|
<div class="md:w-2/3">
|
||
|
|
<input bind:value on:change={WSpush(value)} class="input-indigo" type="text" />
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|