'use client'; import IconButton from './IconButton'; interface Props { onPlan: () => void; onReport: () => void; onDelete: () => void; planLoading: boolean; reportLoading: boolean; t: (key: string) => string; } export default function GoalActionButtons({ onPlan, onReport, onDelete, planLoading, reportLoading, t }: Props) { return (
) : ( ) } label={t("goals.plan")} onClick={onPlan} disabled={planLoading} variant="purple" size="lg" /> ) : ( ) } label={t("goals.report")} onClick={onReport} disabled={reportLoading} variant="success" size="lg" /> } label={t("tasks.delete")} onClick={onDelete} variant="danger" size="lg" />
); }