mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
chore: lint
This commit is contained in:
@@ -18,30 +18,28 @@ const Pagination = ({ className, ...props }: React.ComponentProps<"nav">) => (
|
||||
);
|
||||
Pagination.displayName = "Pagination";
|
||||
|
||||
const PaginationContent = (
|
||||
{
|
||||
ref,
|
||||
className,
|
||||
...props
|
||||
}: React.ComponentProps<"ul"> & {
|
||||
ref: React.RefObject<HTMLUListElement>;
|
||||
}
|
||||
) => (<ul
|
||||
ref={ref}
|
||||
className={cn("flex flex-row items-center gap-1", className)}
|
||||
{...props}
|
||||
/>);
|
||||
const PaginationContent = ({
|
||||
ref,
|
||||
className,
|
||||
...props
|
||||
}: React.ComponentProps<"ul"> & {
|
||||
ref: React.RefObject<HTMLUListElement>;
|
||||
}) => (
|
||||
<ul
|
||||
ref={ref}
|
||||
className={cn("flex flex-row items-center gap-1", className)}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
PaginationContent.displayName = "PaginationContent";
|
||||
|
||||
const PaginationItem = (
|
||||
{
|
||||
ref,
|
||||
className,
|
||||
...props
|
||||
}: React.ComponentProps<"li"> & {
|
||||
ref: React.RefObject<HTMLLIElement>;
|
||||
}
|
||||
) => (<li ref={ref} className={cn("", className)} {...props} />);
|
||||
const PaginationItem = ({
|
||||
ref,
|
||||
className,
|
||||
...props
|
||||
}: React.ComponentProps<"li"> & {
|
||||
ref: React.RefObject<HTMLLIElement>;
|
||||
}) => <li ref={ref} className={cn("", className)} {...props} />;
|
||||
PaginationItem.displayName = "PaginationItem";
|
||||
|
||||
type PaginationLinkProps = {
|
||||
|
||||
Reference in New Issue
Block a user