From b7e39b59fd0fc7b5610ebff29035bf622079e0d8 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Wed, 5 Oct 2022 20:45:21 +0800
Subject: refactor: Change file structure

---
 apps/kit/src/lib/components/checkbox.svelte | 24 ------------------------
 1 file changed, 24 deletions(-)
 delete mode 100644 apps/kit/src/lib/components/checkbox.svelte

(limited to 'apps/kit/src/lib/components/checkbox.svelte')

diff --git a/apps/kit/src/lib/components/checkbox.svelte b/apps/kit/src/lib/components/checkbox.svelte
deleted file mode 100644
index b2fcddb..0000000
--- a/apps/kit/src/lib/components/checkbox.svelte
+++ /dev/null
@@ -1,24 +0,0 @@
-<script lang="ts">
-    import pwKey from "$actions/pwKey";
-    import { random_string } from "$lib/helpers";
-
-    export let label: string;
-    export let id: string | undefined = "input__" + random_string(4);
-    export let name: string | undefined = undefined;
-    export let disabled: boolean | null = null;
-    export let checked: boolean;
-    export let _pwKey: string | undefined = undefined;
-</script>
-
-<div class="flex items-center">
-    <input
-        {name}
-        use:pwKey={_pwKey}
-        {disabled}
-        {id}
-        type="checkbox"
-        bind:checked
-        class="h-4 w-4 text-teal-600 focus:ring-teal-500 border-gray-300 rounded"
-    />
-    <label for={id} class="ml-2 block text-sm text-gray-900">{label}</label>
-</div>
-- 
cgit v1.3

