cherry-pick: pub components from feat/laporan-tindakan-185

This commit is contained in:
Khafid Prayoga
2025-12-08 11:01:44 +07:00
parent 5e3d0d7911
commit a5ec824f4d
19 changed files with 434 additions and 85 deletions
@@ -0,0 +1,20 @@
<script setup lang="ts">
import { ErrorMessage } from 'vee-validate'
import { cn } from '~/lib/utils'
const props = defineProps<{
name: string
class?: string
}>()
</script>
<template>
<ErrorMessage
:name="props.name"
v-slot="{ message }"
>
<p :class="cn('font-sans text-[0.8rem] text-destructive', props.class)">
{{ message }}
</p>
</ErrorMessage>
</template>