UNPKG

@payfit/unity-components

Version:

23 lines (22 loc) 1.15 kB
import { VariantProps } from '@payfit/unity-themes'; import { LinkProps } from 'react-aria-components/Link'; declare const paginationNavButton: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>; export interface RawPaginationNextProps extends Omit<LinkProps, 'children' | 'className' | 'style' | 'isDisabled' | 'aria-label' | 'title'>, VariantProps<typeof paginationNavButton> { id?: string; isDisabled?: boolean; href?: string; } /** * The RawPaginationNext component renders a "Next" link for pagination. * This component is always a link for consistent integration with routing libraries. * @example * ```tsx * import { RawPaginationNext } from '@payfit/unity-components' * * <RawPaginationNext href="/page/3" isDisabled={currentPage === pageCount}> * Next * </RawPaginationNext> * ``` */ declare const RawPaginationNext: import('react').ForwardRefExoticComponent<RawPaginationNextProps & import('react').RefAttributes<HTMLAnchorElement>>; export { RawPaginationNext };