Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

473 B
Raw Blame
"use client";

type RecordsCountProps = {
  count: number;
  total?: number;
  label?: string;
};

export function RecordsCount({
  count,
  total,
  label = "records",
}: RecordsCountProps) {
  return (
    <div className="text-xs text-muted-foreground whitespace-nowrap">
      Showing <strong>1 to {count}</strong>
      {total !== undefined && (
        <>
          {" "}
          of<strong> {total}</strong>
        </>
      )}{" "}
      {label}
    </div>
  );
}