import React from 'react'; export interface DashboardReportCtasProps { cycleClosed: boolean; hasDailySnapshot: boolean; hasEndCycleSnapshot: boolean; onOpenDaily: () => void; onOpenEndCycle: () => void; } const buttonClass = 'rounded-lg bg-slate-900 px-4 py-2 text-sm font-semibold text-white shadow-sm hover:bg-slate-800 disabled:cursor-not-allowed disabled:bg-slate-400 disabled:hover:bg-slate-400'; const label = (hasSnapshot: boolean) => (hasSnapshot ? 'Lihat' : 'Buat'); const DashboardReportCtas: React.FC = ({ cycleClosed, hasDailySnapshot, hasEndCycleSnapshot, onOpenDaily, onOpenEndCycle, }) => (
{!cycleClosed &&

Tersedia setelah siklus ditutup

}
); export default DashboardReportCtas;