Installation
npm install --save @types/react-native-huawei-protected-apps
Summary
This package contains type definitions for react-native-huawei-protected-apps (https://github.com/pgengoux/react-native-huawei-protected-apps).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-huawei-protected-apps.
index.d.ts
export interface HuaweiProtectedAppsConfig {
title: string;
text: string;
doNotShowAgainText: string;
positiveText: string;
negativeText: string;
}
declare let HuaweiProtectedApps: {
AlertIfHuaweiDevice(config: HuaweiProtectedAppsConfig): void;
};
export default HuaweiProtectedApps;
Additional Details
- Last updated: Tue, 07 Nov 2023 0939 GMT
- Dependencies: none
Credits
These definitions were written by Christian Chown.