* feat: adding breadcrumb component, resolves #395 * fix: revert kbd component in main layout * feat: add slot for `BreadcrumbEllipsis` icons too build registry, bump radix-vue * refactor: using primitive instead of computed * chore: update --------- Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
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>
|