aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Control/Checkbox.vue
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-03-10 00:13:25 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-03-10 00:13:25 +0000
commit9a11e0f4a38297006b89cc7bb2a60734111582e0 (patch)
tree5ebddde79e67b659714b5dbdbfcea289f06a4ae5 /src/components/Control/Checkbox.vue
parent817478f3cf357fc09778d9dc3cf67a667e21f042 (diff)
Migrate to nuxt
Diffstat (limited to 'src/components/Control/Checkbox.vue')
-rw-r--r--src/components/Control/Checkbox.vue42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/components/Control/Checkbox.vue b/src/components/Control/Checkbox.vue
deleted file mode 100644
index e0325e7..0000000
--- a/src/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