⚠️ refactor (form): refactor label component for improved styling and responsiveness
This commit is contained in:
No files matched your search
@@ -1,12 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import type { PaginationFirstProps } from 'radix-vue'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
import {
|
||||
Button,
|
||||
} from '@/components/ui/button'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { PaginationFirst } from 'radix-vue'
|
||||
import { computed } from 'vue'
|
||||
import { Button } from '@/components/pub/ui/button'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
const props = withDefaults(defineProps<PaginationFirstProps & { class?: HTMLAttributes['class'] }>(), {
|
||||
asChild: true,
|
||||
@@ -21,7 +19,7 @@ const delegatedProps = computed(() => {
|
||||
|
||||
<template>
|
||||
<PaginationFirst v-bind="delegatedProps">
|
||||
<Button :class="cn('w-9 h-9 p-0', props.class)" variant="outline">
|
||||
<Button :class="cn('h-9 w-9 p-0', props.class)" variant="outline">
|
||||
<slot>
|
||||
<Icon name="i-radix-icons-double-arrow-left" />
|
||||
</slot>
|
||||
|
||||
Reference in New Issue
Block a user