Merge pull request #1 from jordanbyron/master

Update fork
This commit is contained in:
dao-wkm 2019-06-13 15:46:09 +07:00 committed by GitHub
commit a0e062fb27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 2 deletions

View File

@ -13,5 +13,5 @@ android {
}
dependencies {
provided "com.facebook.react:react-native:+"
api "com.facebook.react:react-native:+"
}

20
index.d.ts vendored Normal file
View File

@ -0,0 +1,20 @@
declare module 'react-native-quick-actions' {
export interface ShortcutItem {
type: string;
title: string;
subtitle?: string;
icon: string;
userInfo: {
url: string
}
}
export function popInitialAction(): Promise<ShortcutItem>;
export function setShortcutItems(shortcutItems: Array<ShortcutItem>): void;
export function clearShortcutItems(): void;
export function isSupported(callback: (error: Error | any, supported: boolean) => void): void;
}

View File

@ -1,6 +1,6 @@
{
"name": "react-native-quick-actions",
"version": "0.3.9",
"version": "0.3.11",
"description": "A react-native interface for Touch 3D home screen quick actions",
"repository": {
"type": "git",