UNPKG

@jcaspar/react-native-vision-camera-text-recognition

Version:

A plugin to Scanning Text,Translate using ML Kit Text Recognition and ML Kit Translation. With High Performance and many features.

8 lines (6 loc) 263 B
import { NativeModules } from 'react-native'; import type { Languages } from './types'; export async function RemoveLanguageModel(code: Languages): Promise<boolean> { const { RemoveLanguageModel: Remove } = NativeModules; return await Remove.remove(code); }