<script setup>
import { reactiveOmit } from "@vueuse/core";
import { CalendarNext, useForwardProps } from "reka-ui";
import { cn } from "../../../utils/cn";
import { buttonVariants } from "../button";
import { Icon } from "@iconify/vue";
const props = defineProps({
  nextPage: { type: Function, required: false },
  asChild: { type: Boolean, required: false },
  as: { type: null, required: false },
  class: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true }
});
const delegatedProps = reactiveOmit(props, "class");
const forwardedProps = useForwardProps(delegatedProps);
</script>

<template>
  <CalendarNext
    data-slot="calendar-next-button"
    :class="cn(
  buttonVariants({ variant: 'ghost', size: 'sm' }),
  'bg-transparent p-0 opacity-50 hover:opacity-100',
  props.class
)"
    v-bind="forwardedProps"
  >
    <slot>
      <Icon icon="fluent:chevron-right-20-regular" />
    </slot>
  </CalendarNext>
</template>
