UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

20 lines (19 loc) 851 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type PaginationProperties<ET extends ElementType = 'ul'> = { /** Tag of Component */ tag?: ElementType; /** Layout orientation - automatically applies flex-row (horizontal) or flex-col (vertical) */ orientation?: 'horizontal' | 'vertical'; } & ComponentPropsWithRef<ET>; /** * Set of links used to navigate content split across multiple pages. * @docs {@link https://design.visa.com/components/pagination/?code_library=react | See Docs} * @vgar TODO * @wcag TODO * @related pagination-overflow, use-pagination */ declare const Pagination: { <ET extends ElementType = "ul">({ className, tag: Tag, orientation, ...remainingProps }: PaginationProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Pagination;