/* global React, Icon, Eyebrow, Badge, Button */ function AdminOverview({ stats }){ const s = stats || {}; return (
0 ? "Open the queue →" : "Up to date"} warning={s.pendingClipsCount > 0}/>
ACTION NEEDED
Things on your plate
{s.pendingClipsCount > 0 && ( )} {s.pendingPayoutsCount > 0 && ( )} {(!s.pendingClipsCount && !s.pendingPayoutsCount) && (
Inbox zero. New submissions and payout requests will appear here.
)}
); } function Kpi({label,value,sub,positive,warning}){ return (
{label}
{value}
{sub}
); } function ActionRow({icon,tone,bg,title,sub}){ return (
{title}
{sub}
); } window.AdminOverview = AdminOverview;