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.
16 lines (15 loc) • 577 B
TypeScript
type Props = {
appIconPath?: string;
copyAddToHomeScreenStep?: string;
copyDescription?: string;
copyShareStep?: string;
copySubtitle?: string;
copyTitle?: string;
delay?: number;
promptOnVisit?: number;
timesToShow?: number;
onClose?: () => void;
isShown?: boolean;
};
declare const PWAPrompt: ({ appIconPath, copyAddToHomeScreenStep, copyDescription, copyShareStep, copySubtitle, copyTitle, delay, isShown, onClose, promptOnVisit, timesToShow, }: Props) => import("react/jsx-runtime").JSX.Element | null;
export default PWAPrompt;