Skip to content

Commit 6935ea8

Browse files
author
issayah
committed
BFormFloatingLabel script setup and move
1 parent b4260cc commit 6935ea8

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<div class="form-floating">
3+
<slot />
4+
<label :for="labelFor">{{ label }}</label>
5+
</div>
6+
</template>
7+
8+
<script setup lang="ts">
9+
// import type {BFormFloatingLabelProps} from '@/types/components'
10+
11+
interface BFormFloatingLabelProps {
12+
labelFor?: string
13+
label?: string
14+
}
15+
16+
defineProps<BFormFloatingLabelProps>()
17+
</script>

src/components/BFormFloatingLabel.vue

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)