-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.d.ts
19 lines (18 loc) · 860 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
declare module 'react-native-share-image' {
/**
* Share screenshot of current app screen or specify a view to get screenshot of
* @param {string} id - ID for a View which is set using the nativeID prop for Views
* @link See https://reactnative.dev/docs/view#nativeid for how to set nativeID
* @param {string} message - Message to be shown during share
* @param {string} filename - name of temporary screenshot file
* @param {string} shareTitle - title of share modal
*/
export function shareScreenshot(): void
/**
* Share image using uri of an image
* @param {string} imageUri - Specify a content uri for image to be shared
* @param {string} message - Message to be shown during share
* @param {string} shareTitle - title of share modal
*/
export function shareImageFromUri(): void
}