@types/expo__status-bar-height
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Installation

npm install --save @types/expo__status-bar-height

Summary

This package contains type definitions for @expo/status-bar-height (https://github.com/expo/status-bar-height).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/expo__status-bar-height.

index.d.ts

export type StatusBarHeightHandler = (height: number) => void;

export class StatusBarHeight {
    /**
     * Get the current status bar height
     */
    getAsync(): Promise<number>;
    /**
     * Add 'willChange' event listener
     */
    addEventListener(handler: StatusBarHeightHandler): void;
    /**
     * Remove 'willChange' event listener
     */
    removeEventListener(handler: StatusBarHeightHandler): void;
}

declare const StatusBarHeightStatic: StatusBarHeight;
export default StatusBarHeightStatic;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:36 GMT
  • Dependencies: none

Credits

These definitions were written by Janeene Beeforth.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/expo__status-bar-height

Weekly Downloads

34

Version

0.0.4

License

MIT

Unpacked Size

3.69 kB

Total Files

5

Last publish

Collaborators

  • types