@khmyznikov/pwa-install
Version:
PWA install dialog provide more convenience user experience and fix lack of native dialogs in some browsers.
27 lines (22 loc) • 633 B
text/typescript
import type { PWAInstallElement } from '../index';
import type { PWAInstallAttributes } from './types';
export type PWAInstallProps = Partial<PWAInstallElement> &
PWAInstallAttributes &
React.HTMLAttributes<PWAInstallElement> &
React.RefAttributes<PWAInstallElement> &
{
children?: React.ReactNode;
};
declare global {
namespace JSX {
interface IntrinsicElements {
'pwa-install': PWAInstallProps;
}
}
namespace React.JSX {
interface IntrinsicElements {
'pwa-install': PWAInstallProps;
}
}
}
export {};