From 09693b979efe3c9c7ea64f79d97a1f0b53f7c49e Mon Sep 17 00:00:00 2001
From: Melonai <einebeere@gmail.com>
Date: Sat, 8 May 2021 23:41:03 +0200
Subject: Socket connection and token fetching

---
 assets/src/components/DataPicker.svelte | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 assets/src/components/DataPicker.svelte

(limited to 'assets/src/components/DataPicker.svelte')

diff --git a/assets/src/components/DataPicker.svelte b/assets/src/components/DataPicker.svelte
new file mode 100644
index 0000000..433018d
--- /dev/null
+++ b/assets/src/components/DataPicker.svelte
@@ -0,0 +1,14 @@
+<script lang="ts">
+    import data from "../stores/data";
+
+    let value = "";
+
+    const submit = () => {
+        data.set(value);
+    };
+</script>
+
+<form on:submit|preventDefault={submit}>
+    <input type="text" bind:value />
+    <input type="submit" value="Submit" />
+</form>
-- 
cgit 1.4.1

