mirror of
https://github.com/archtechx/airwire-demo.git
synced 2025-12-12 08:34:03 +00:00
public release
This commit is contained in:
commit
d6d22f8355
115 changed files with 67218 additions and 0 deletions
16
resources/js/components/FormGroup.vue
Normal file
16
resources/js/components/FormGroup.vue
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<template>
|
||||
<label class="flex flex-col space-y-1" :key="label">
|
||||
<span class="text-sm font-semibold text-gray-600">{{ label }}</span>
|
||||
<slot />
|
||||
<errors :errors="errors" :key="label" />
|
||||
</label>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue'
|
||||
import Errors from './Errors.vue'
|
||||
export default defineComponent({
|
||||
components: { Errors },
|
||||
props: ['label', 'errors']
|
||||
})
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue