diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-10 01:31:42 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-10 01:31:42 +0000 |
| commit | 71e4ad2c71efea471923ea47f01bfda841387f81 (patch) | |
| tree | f08293fdc56b4eb2e3d0e520b79b4d8aad78924c /components/Control/Checkbox.vue | |
| parent | 4495c02c41b95ce6df0c34dbf6ac62f7addae7a3 (diff) | |
Use nuxt auto import magic
Diffstat (limited to 'components/Control/Checkbox.vue')
| -rw-r--r-- | components/Control/Checkbox.vue | 42 |
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 |
