/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ import { useContext, useCallback } from 'react'; import TranslationProviderContext from './TranslationProviderContext'; import { Translate } from '../types'; /** * * @example * * import { useTranslate } from '@stbui/prophet-core'; * * const SettingsMenu = () => { * const translate = useTranslate(); * return