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.

11 lines (10 loc) 1.56 kB
import { jsxs as C, jsx as L } from "react/jsx-runtime"; import '../../assets/IconShare.css';const o = "_icon_1rnxv_1", n = { icon: o }, c = () => /* @__PURE__ */ C("svg", { viewBox: "0 0 17.6953 26.0059", className: n.icon, children: [ /* @__PURE__ */ L("path", { d: "M17.334 10.8105L17.334 20.4395C17.334 22.4512 16.3086 23.4668 14.2676 23.4668L3.06641 23.4668C1.02539 23.4668 0 22.4609 0 20.4395L0 10.8105C0 8.78906 1.02539 7.7832 3.06641 7.7832L6.05469 7.7832L6.05469 9.35547L3.08594 9.35547C2.10938 9.35547 1.57227 9.87305 1.57227 10.8887L1.57227 20.3613C1.57227 21.377 2.10938 21.8945 3.08594 21.8945L14.2383 21.8945C15.2051 21.8945 15.7617 21.377 15.7617 20.3613L15.7617 10.8887C15.7617 9.87305 15.2051 9.35547 14.2383 9.35547L11.2695 9.35547L11.2695 7.7832L14.2676 7.7832C16.3086 7.7832 17.334 8.79883 17.334 10.8105Z" }), /* @__PURE__ */ L("path", { d: "M8.66211 15.8203C9.08203 15.8203 9.44336 15.4785 9.44336 15.0684L9.44336 5.13672L9.38477 3.68164L9.93164 4.25781L11.4355 5.86914C11.5723 6.02539 11.7773 6.10352 11.9629 6.10352C12.373 6.10352 12.6758 5.81055 12.6758 5.41992C12.6758 5.20508 12.5977 5.04883 12.4512 4.90234L9.22852 1.79688C9.0332 1.60156 8.86719 1.54297 8.66211 1.54297C8.4668 1.54297 8.30078 1.60156 8.0957 1.79688L4.88281 4.90234C4.73633 5.04883 4.64844 5.20508 4.64844 5.41992C4.64844 5.81055 4.94141 6.10352 5.35156 6.10352C5.53711 6.10352 5.75195 6.02539 5.88867 5.86914L7.40234 4.25781L7.94922 3.68164L7.89062 5.13672L7.89062 15.0684C7.89062 15.4785 8.24219 15.8203 8.66211 15.8203Z" }) ] }); export { c as IconShare };