import { PillButton } from "@repo/timo-design-system/ui"; import Image from "next/image"; interface SettingsCalendarProps { iconSrc: string; name: string; isConnected: boolean; connectLabel: string; disconnectLabel: string; onClick: () => void; } export const SettingsCalendar = ({ iconSrc, name, isConnected, connectLabel, disconnectLabel, onClick, }: SettingsCalendarProps) => { return (
{name}
{isConnected ? disconnectLabel : connectLabel}
); };