initial commit
This commit is contained in:
25
app/components/input/email.vue
Normal file
25
app/components/input/email.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<InputBase
|
||||
v-model="model"
|
||||
v-bind="$attrs"
|
||||
:label="label"
|
||||
:name="name"
|
||||
:placeholder="placeholder"
|
||||
type="email"
|
||||
>
|
||||
<template #message>
|
||||
<slot name="message"></slot>
|
||||
</template>
|
||||
</InputBase>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const model = defineModel<string>()
|
||||
|
||||
defineProps<{
|
||||
label: string
|
||||
name: string
|
||||
placeholder?: string
|
||||
}>()
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user