Ajout des fichiers de l'application

This commit is contained in:
Rampeur
2025-08-07 08:12:11 +02:00
parent 16fc6b69a6
commit 8da4b7cb28
193 changed files with 372196 additions and 0 deletions
@@ -0,0 +1 @@
export * from "./pagination";
@@ -0,0 +1,24 @@
import clsx from "clsx";
import { ComponentPropsWithoutRef } from "react";
type PaginationItemProps = ComponentPropsWithoutRef<"li"> & {
href?: string;
active?: boolean;
};
export const PaginationItem = ({ href, active, className, children, ...rest }: PaginationItemProps) => (
<li className={clsx("page-item", className, active && "active")} {...rest}>
<a className="page-link" href={href}>
{children}
</a>
</li>
);
type PaginationProps = ComponentPropsWithoutRef<"ul">;
export const Pagination = ({ className, children, ...rest }: PaginationProps) =>
children && (
<ul className={clsx("pagination", className)} {...rest}>
{children}
</ul>
);