0.1.5 • Published 6 months ago

@types/react-native-custom-tabs v0.1.5

Weekly downloads
814
License
MIT
Repository
github
Last release
6 months ago

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.

0.1.4

7 months ago

0.1.3

7 months ago

0.1.5

6 months ago

0.1.2

3 years ago

0.1.1

6 years ago

0.1.0

6 years ago