From 3352727aa638fcfcc6461d2aaded8ef9603acc0d Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 4 Oct 2022 00:04:19 +0800
Subject: feat: Initial setup facilitating testing

---
 apps/kit/src/lib/components/checkbox.svelte | 3 +++
 1 file changed, 3 insertions(+)

(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
index 311d154..b2fcddb 100644
--- a/apps/kit/src/lib/components/checkbox.svelte
+++ b/apps/kit/src/lib/components/checkbox.svelte
@@ -1,4 +1,5 @@
 <script lang="ts">
+    import pwKey from "$actions/pwKey";
     import { random_string } from "$lib/helpers";
 
     export let label: string;
@@ -6,11 +7,13 @@
     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"
-- 
cgit v1.3

