20 lines
362 B
Vue
20 lines
362 B
Vue
<script lang="ts" setup>
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes['class']
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<span
|
|
role="link"
|
|
aria-disabled="true"
|
|
aria-current="page"
|
|
:class="cn('font-normal text-foreground', props.class)"
|
|
>
|
|
<slot />
|
|
</span>
|
|
</template>
|