UNPKG

expo-share-multi-intent

Version:

use native share intent for ios and android with expo

17 lines 682 B
import React from "react"; import { ShareIntent, ShareIntentOptions } from "./ExpoShareIntentModule.types"; type ShareIntentContextState = { isReady: boolean; hasShareIntent: boolean; shareIntent: ShareIntent; resetShareIntent: (clearNativeModule?: boolean) => void; error: string | null; }; export declare const ShareIntentContextConsumer: React.Consumer<ShareIntentContextState>; export declare function useShareIntentContext(): ShareIntentContextState; export declare function ShareIntentProvider({ options, children, }: { options?: ShareIntentOptions; children: any; }): React.JSX.Element; export {}; //# sourceMappingURL=ShareIntentProvider.d.ts.map