react-google-translate-mj
Version:
A React package for automatic website translation using Google Translate API
7 lines (6 loc) • 383 B
TypeScript
export { TranslateProvider } from './context/TranslateContext';
export { TranslateText } from './components/TranslateText';
export { AutoTranslate } from './components/AutoTranslate';
export { useTranslator } from './context/TranslateContext';
export { useAutoTranslate } from './hooks/useAutoTranslate';
export type { TranslateOptions, TranslateError } from './services/translate';