mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
parent
6d243e4240
commit
0c00db0c15
9
types/react-native-share/index.d.ts
vendored
9
types/react-native-share/index.d.ts
vendored
@ -1,6 +1,7 @@
|
||||
// Type definitions for react-native-share 1.1
|
||||
// Project: https://github.com/react-native-community/react-native-share#readme
|
||||
// Definitions by: Mark Nelissen <https://github.com/marknelissen>
|
||||
// pera <https://github.com/santiagofm>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.1
|
||||
|
||||
@ -13,16 +14,16 @@ declare namespace Share {
|
||||
|
||||
export default Share;
|
||||
|
||||
interface OpenReturn {
|
||||
export interface OpenReturn {
|
||||
app?: string;
|
||||
dismissedAction?: boolean;
|
||||
}
|
||||
|
||||
interface ShareSingleReturn {
|
||||
export interface ShareSingleReturn {
|
||||
message: string;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
export interface Options {
|
||||
url?: string;
|
||||
urls?: string[];
|
||||
type?: string;
|
||||
@ -33,7 +34,7 @@ interface Options {
|
||||
failOnCancel?: boolean;
|
||||
showAppsToView?: boolean;
|
||||
}
|
||||
interface MultipleOptions {
|
||||
export interface MultipleOptions {
|
||||
url?: string;
|
||||
urls: string[];
|
||||
type?: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user