1.2.2 • Published 1 year ago

expo-reference-lib v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Expo Reference Lib (Word Dictionary)

Use IOS lookup and Android define by given string

https://github.com/VidocqH/expo-reference-lib/assets/16725418/098015e1-1a19-4a0d-a27f-71f25308d400

Support

  • IOS - use UIReferenceLibraryViewController

  • Android - use android.content.Intent.ACTION_DEFINE

  • Expo

Installation

Using npm

npm i expo-reference-lib

Using yarn

yarn add expo-reference-lib

Usage

import * as ExpoReferenceLib from "expo-reference-lib";

ExpoReferenceLib.presentReferenceLibraryAsync("Utopia");
ExpoReferenceLib.dismissReferenceLibraryAsync(); // IOS only, close lookup modal