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

0.1.2 • Public • Published

Installation

npm install --save @types/react-native-custom-tabs

Summary

This package contains type definitions for react-native-custom-tabs (https://github.com/droibit/react-native-custom-tabs).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-custom-tabs.

index.d.ts

// Type definitions for react-native-custom-tabs 0.1
// Project: https://github.com/droibit/react-native-custom-tabs
// Definitions by: Phil Nova <https://github.com/philnova>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export interface Animations {
  startEnter: string;
  startExit: string;
  endEnter: string;
  endExit: string;
}

export interface CustomTabsOptions {
  toolbarColor?: string | undefined;
  enableUrlBarHiding?: boolean | undefined;
  showPageTitle?: boolean | undefined;
  enableDefaultShare?: boolean | undefined;
  animations?: Animations | undefined;
  headers?: any;
}

export namespace CustomTabs {
    function openURL(url: string, options?: CustomTabsOptions): Promise<boolean>;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 20:21:01 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Phil Nova.

Keywords

none

Install

npm i @types/react-native-custom-tabs

DownloadsWeekly Downloads

525

Version

0.1.2

License

MIT

Unpacked Size

4.15 kB

Total Files

4

Last publish

Collaborators

  • types