// health/SkipTonight.jsx — confirmation action sheet for "Skip tonight" // on the Bedtime detail. iOS action-sheet style: title + body, then a stack // of grouped buttons. Three options + Cancel. function SkipTonight({ dark = false }) { return ( {/* dimmed bedtime detail behind */}
{/* Action sheet */}
{/* Top group: title + 3 destructive-ish options */}
Skip tonight's Smart Bedtime?
No reminder will be sent. Your sleep debt will likely grow.
{[ { l: 'Skip tonight only', sub: 'Resumes tomorrow', tone: 'normal' }, { l: 'Skip until Sunday', sub: '5 nights · weekend off', tone: 'normal' }, { l: 'Stop using Smart Bedtime', sub: 'You can re-enable in Settings', tone: 'destructive' }, ].map((r, i, a) => (
{r.l}
{r.sub}
))}
{/* Cancel group */}
Cancel
{/* iOS home-indicator safe area */}
); } window.SkipTonight = SkipTonight;