Installation
npm install --save @types/react-native-keep-awake
Summary
This package contains type definitions for react-native-keep-awake (https://github.com/corbt/react-native-keep-awake).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-keep-awake.
index.d.ts
import * as React from "react";
declare class KeepAwake extends React.Component<{ children?: React.JSX.Element | undefined }> {
static activate(): void;
static deactivate(): void;
}
export default KeepAwake;
Additional Details
- Last updated: Thu, 21 Dec 2023 19:06:51 GMT
- Dependencies: @types/react
Credits
These definitions were written by huhuanming.