@types/react-native-custom-tabs
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -14,7 +14,7 @@ // Type definitions for react-native-custom-tabs 0.1 | ||
export interface CustomTabsOptions { | ||
toolbarColor?: string; | ||
enableUrlBarHiding?: boolean; | ||
showPageTitle?: boolean; | ||
enableDefaultShare?: boolean; | ||
animations?: Animations; | ||
toolbarColor?: string | undefined; | ||
enableUrlBarHiding?: boolean | undefined; | ||
showPageTitle?: boolean | undefined; | ||
enableDefaultShare?: boolean | undefined; | ||
animations?: Animations | undefined; | ||
headers?: any; | ||
@@ -21,0 +21,0 @@ } |
{ | ||
"name": "@types/react-native-custom-tabs", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "TypeScript definitions for react-native-custom-tabs", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-custom-tabs", | ||
"license": "MIT", | ||
@@ -14,10 +15,12 @@ "contributors": [ | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/react-native-custom-tabs" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1ea212a1f730a6d68eed77a583c7fde33aad22ccca150764633e9d44dbd6514e", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "af696065baac2b5eceda2f3bdec3049bffb3e8264ecc11c59f0df5158049b2b5", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,6 +8,34 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-custom-tabs | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-custom-tabs. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-custom-tabs/index.d.ts) | ||
````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 | ||
Additional Details | ||
* Last updated: Thu, 07 Jun 2018 23:53:18 GMT | ||
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 | ||
@@ -17,2 +45,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Phil Nova <https://github.com/philnova>. | ||
These definitions were written by [Phil Nova](https://github.com/philnova). |
Sorry, the diff of this file is not supported yet
4151
45