import { useTranslation as originalUseTranslation, } from 'react-i18next' import { TFunction, i18n } from 'i18next' import { TranslateFunctions, createFunctions } from '../../utils/translate-functions.factory.js' /** * Extends {@link TranslateFunctions}. Apart from that it also returns all the properties * defined below. * * ```javascript * import { useTranslation } from 'adminjs' * * const MyComponent = () => { * const { translateButton } = useTranslation() * * return ( * *