INIT: initial commit

Added some initial files, components, functionality
This commit is contained in:
Fiona Lena Urban 2025-02-10 21:19:58 +01:00
commit 72aaf5174d
19 changed files with 9962 additions and 0 deletions

View file

@ -0,0 +1,26 @@
<template>
<div class="Input">
<input :type="type" :id="makeId()" placeholder=" " min="1" :max="max" />
<label :for="makeId()">{{ label }}</label>
</div>
</template>
<script setup lang="ts">
type Props = {
type ?: 'text' | 'number'
max ?: number
label : string
id : string
uid : number
}
const {
type = 'text',
max = 10,
label,
id,
uid,
} = defineProps<Props>()
const makeId = () => `${id}_${uid}`
</script>