<script setup>
import { reactiveOmit } from "@vueuse/core";
import { Icon } from "@iconify/vue";
import { RangeCalendarNext, useForwardProps } from "reka-ui";
import { cn } from "../../../utils/cn";
import { buttonVariants } from "../button";
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>
  <RangeCalendarNext
    data-slot="range-calendar-next-button"
    :class="cn(
  buttonVariants({ variant: 'ghost' }),
  'absolute right-1',
  'size-7 bg-transparent p-0 opacity-50 hover:opacity-100',
  props.class
)"
    v-bind="forwardedProps"
  >
    <slot>
      <Icon icon="fluent:chevron-right-20-regular" />
    </slot>
  </RangeCalendarNext>
</template>
