aboutsummaryrefslogtreecommitdiffstats
path: root/components/Control/Checkbox.vue
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-03-10 01:31:42 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-03-10 01:31:42 +0000
commit71e4ad2c71efea471923ea47f01bfda841387f81 (patch)
treef08293fdc56b4eb2e3d0e520b79b4d8aad78924c /components/Control/Checkbox.vue
parent4495c02c41b95ce6df0c34dbf6ac62f7addae7a3 (diff)
Use nuxt auto import magic
Diffstat (limited to 'components/Control/Checkbox.vue')
-rw-r--r--components/Control/Checkbox.vue42
1 files changed, 0 insertions, 42 deletions
diff --git a/components/Control/Checkbox.vue b/components/Control/Checkbox.vue
deleted file mode 100644
index e0325e7..0000000
--- a/components/Control/Checkbox.vue
+++ /dev/null
@@ -1,42 +0,0 @@
-<script setup lang="ts">
-const model = defineModel();
-
-defineProps({
- id: String,
- label: String,
- description: String,
-});
-
-</script>
-
-<template>
- <div class="checkbox">
- <label id="wrapper" :for="id">
- <input :id="id" type="checkbox" v-model="model" />
- <span id="label">{{ label }}</span>
- <span id="description">{{ description }}</span>
- </label>
- </div>
-</template>
-
-<style scoped>
-#label {
- display: block;
- font-weight: bold;
-}
-
-#description {
- display: block;
- font-size: 0.8em;
-}
-
-input {
- float: left;
- margin: 5px 0 0 -20px;
-}
-
-.checkbox {
- padding: 0 0 0 20px;
-}
-
-</style> \ No newline at end of file