reading you…
)} {/* Tip */} {(state === 'tip' || state === 'actions') && tip && ({tip.content}
hold to act
{pushState === 'idle' && ( )}All clear.
{ setState('tip'); }}
style={{
position: 'fixed',
inset: 0,
background: 'rgba(0,0,0,0.5)',
animation: 'none',
}}
/>
{tip && (
react('done')} primary />
react('helpful')} />
react('not_helpful')} />
react('snooze')} />
react('dismiss')} />
>
)}
>
);
}
function ActionButton({ label, onClick, primary }: { label: string; onClick: () => void; primary?: boolean }) {
return (
);
}
{tip.content}
)}