shadcn-react
Version:
A simple wrapper for shadcn/ui
29 lines (28 loc) • 1.56 kB
TypeScript
import * as React from "react";
import { ButtonProps } from "../ui/button";
declare const Pagination: {
({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
type PaginationLinkProps = {
isActive?: boolean;
} & Pick<ButtonProps, "size"> & React.ComponentProps<"a">;
declare const PaginationLink: {
({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
declare const PaginationPrevious: {
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
declare const PaginationNext: {
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
declare const PaginationEllipsis: {
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };