@types/react-native-keep-awake
TypeScript icon, indicating that this package has built-in type declarations

2.0.8 • Public • Published

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.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @types/react-native-keep-awake

Weekly Downloads

15,159

Version

2.0.8

License

MIT

Unpacked Size

3.17 kB

Total Files

5

Last publish

Collaborators

  • types