<script setup lang="ts">
|
import type { PaginationListProps } from 'reka-ui';
|
|
import type { HTMLAttributes } from 'vue';
|
|
import { cn } from '..\..\..\..\..\base\shared\src\utils';
|
|
import { reactiveOmit } from '@vueuse/core';
|
import { PaginationList } from 'reka-ui';
|
|
const props = defineProps<
|
PaginationListProps & { class?: HTMLAttributes['class'] }
|
>();
|
|
const delegatedProps = reactiveOmit(props, 'class');
|
</script>
|
|
<template>
|
<PaginationList
|
v-slot="slotProps"
|
data-slot="pagination-content"
|
v-bind="delegatedProps"
|
:class="cn('flex flex-row items-center gap-1', props.class)"
|
>
|
<slot v-bind="slotProps"></slot>
|
</PaginationList>
|
</template>
|