import type { CronTask } from '../../types/task' import { TaskRow } from './TaskRow' type Props = { tasks: CronTask[] } export function TaskList({ tasks }: Props) { const enabledCount = tasks.filter((t) => t.enabled).length return (
{/* Stats */}
{/* Task rows */}
{tasks.map((task) => ( ))}
) } function StatCard({ label, value }: { label: string; value: string }) { return (
{value}
{label}
) }