import { JobListItem, type JobListItemProps } from "@/components/JobListItem" import { cn } from "@/lib/utils" export interface JobListProps { jobs: JobListItemProps[] emptyLabel?: string className?: string } export function JobList({ jobs, emptyLabel = "No running jobs.", className }: JobListProps) { if (jobs.length === 0) { return (
{emptyLabel ?? 'No jobs.'}