commit
a0e062fb27
@ -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
20
index.d.ts
vendored
Normal 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;
|
||||
}
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user