ENGLISH·COURSE API
    Preparing search index...
    SafariInstallGuideModal: FC<SafariInstallGuideModalProps & NiceModalHocProps> = ...

    The iPad and macOS install guides, in a modal.

    Shown imperatively with NiceModal.show(SafariInstallGuideModal, { platform }), so the header chip can open it without the guide being prop-drilled down to it. The provider is already mounted in global-providers.

    showCloseButton is off because SafariGuideAutoplay draws its own dismiss control; leaving the primitive's on would put two X's in the same corner. That control calls hide, and remove runs once the close animation has finished, which is what stops the guide's timer and unmounts it.

    The dialog is named by its own title rather than by the guide's heading: the heading sells the idea while a dialog's accessible name should say what the dialog is. The two platforms are named differently because they end in different places — a home screen and a Dock — and a Mac has no home screen to promise.

    await NiceModal.show(SafariInstallGuideModal, { platform: "mac" });
    

    See SafariInstallGuideModalProps