import { loaderThreeDots } from '@auto-launch/icons'; import { activeModalTemplate } from '@auto-launch/templates'; // The template's box draws the card, or an overlay's surface settings reach // nothing on the screens whose content brought its own. export const WaitBox = ({ icon, message, note }) => (
{icon ?? loaderThreeDots}

{message}

{note ? (

{note}

) : null}
); export const WaitingOverlay = ({ show, icon, message, note }) => { if (!show) return null; const Page = activeModalTemplate(); return ( }} has={{ card: true }} /> ); };