This repository has been archived by the owner on Apr 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from jordanbyron/master
Update fork
- Loading branch information
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters