PHP Classes

File: resources/js/components/ui/dialog/DialogTitle.vue

Recommend this page to a friend!
  Packages of Niko Peikrishvili   Ticker   resources/js/components/ui/dialog/DialogTitle.vue   Download  
File: resources/js/components/ui/dialog/DialogTitle.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ticker
Application to track and manage to do tasks
Author: By
Last change:
Date: 2 months ago
Size: 671 bytes
 

Contents

Class file image Download
<script setup lang="ts"> import type { DialogTitleProps } from "reka-ui" import type { HTMLAttributes } from "vue" import { reactiveOmit } from "@vueuse/core" import { DialogTitle, useForwardProps } from "reka-ui" import { cn } from "@/lib/utils" const props = defineProps<DialogTitleProps & { class?: HTMLAttributes["class"] }>() const delegatedProps = reactiveOmit(props, "class") const forwardedProps = useForwardProps(delegatedProps) </script> <template> <DialogTitle v-bind="forwardedProps" :class=" cn( 'text-lg font-semibold leading-none tracking-tight', props.class, ) " > <slot /> </DialogTitle> </template>