Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from jordanbyron/master
Browse files Browse the repository at this point in the history
Update fork
  • Loading branch information
dao-wkm authored Jun 13, 2019
2 parents aef6454 + 950d0f7 commit a0e062f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ android {
}

dependencies {
provided "com.facebook.react:react-native:+"
api "com.facebook.react:react-native:+"
}
20 changes: 20 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -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;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit a0e062f

Please sign in to comment.