PHP Classes

File: resources/js/components/ui/select/SelectScrollUpButton.vue

Recommend this page to a friend!
  Packages of Niko Peikrishvili   Ticker   resources/js/components/ui/select/SelectScrollUpButton.vue   Download  
File: resources/js/components/ui/select/SelectScrollUpButton.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: 4 months ago
Size: 745 bytes
 

Contents

Class file image Download
<script setup lang="ts"> import type { SelectScrollUpButtonProps } from "reka-ui" import type { HTMLAttributes } from "vue" import { reactiveOmit } from "@vueuse/core" import { ChevronUp } from "lucide-vue-next" import { SelectScrollUpButton, useForwardProps } from "reka-ui" import { cn } from "@/lib/utils" const props = defineProps<SelectScrollUpButtonProps & { class?: HTMLAttributes["class"] }>() const delegatedProps = reactiveOmit(props, "class") const forwardedProps = useForwardProps(delegatedProps) </script> <template> <SelectScrollUpButton v-bind="forwardedProps" :class="cn('flex cursor-default items-center justify-center py-1', props.class)"> <slot> <ChevronUp /> </slot> </SelectScrollUpButton> </template>