2.0.8 • Published 5 months ago
@types/react-native-keep-awake v2.0.8
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
// Type definitions for react-native-keep-awake 2.0
// Project: https://github.com/corbt/react-native-keep-awake
// Definitions by: huhuanming <https://github.com/huhuanming>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
declare class KeepAwake extends React.Component<{ children?: JSX.Element | undefined }> {
static activate(): void;
static deactivate(): void;
}
export default KeepAwake;
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:10 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by huhuanming.