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

0.1.5 • 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

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: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Phil Nova.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

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

      Weekly Downloads

      887

      Version

      0.1.5

      License

      MIT

      Unpacked Size

      3.68 kB

      Total Files

      5

      Last publish

      Collaborators

      • types