Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | import { cn } from '@/lib/utils'
interface LoadMoreButtonProps {
onClick: () => void
label: string
className?: string
}
export function LoadMoreButton({ onClick, label, className }: LoadMoreButtonProps) {
return (
<div className={cn('mt-6 flex justify-center', className)}>
<button
type="button"
onClick={onClick}
className="rounded-full bg-card px-5 py-2 text-[13px] font-semibold text-ink-muted shadow-sm transition-colors hover:bg-muted"
>
{label}
</button>
</div>
)
}
|