import clsx from "clsx"; import { PropsWithChildren } from "react"; import { registerComponent } from "../../registries/components"; export function PaginationButton( props: PropsWithChildren< { component?: any; disabled?: boolean; className?: string; active?: boolean; } & Record > ) { const { component: Component = "button", children, disabled, active, ...otherProps } = props; return ( {children} ); } registerComponent("PaginationButton", PaginationButton);