npm.io
2.0.8 • Published 2 years ago

@types/react-native-keep-awake

Licence
MIT
Version
2.0.8
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1951 GMT
  • Dependencies: @types/react

Credits

These definitions were written by huhuanming.