UNPKG

react-ios-pwa-prompt

Version:

A React component to prompt the user to add the app as a PWA to the home screen with native iOS styles.

17 lines (16 loc) 398 B
import { jsx as s } from "react/jsx-runtime"; import '../../assets/Overlay.css';const i = "_overlay_fuhtc_1", r = "_visible_fuhtc_16", e = { overlay: i, visible: r }, a = ({ isOpen: l, onClose: o }) => /* @__PURE__ */ s( "div", { className: `${e.overlay} ${l && e.visible} iOSPWA-overlay`, "aria-label": "Close", role: "button", onClick: o } ); export { a as Overlay };