@aveonline/ui-react
Version:
Home base for Aveonline design system - ecosystem react
9 lines (8 loc) • 382 B
TypeScript
import { _TFunciton, _TProps } from '../types';
export declare const _tValidate: (d: any, _t?: _TFunciton) => any;
export declare type use_TProps = _TProps;
export declare const useT: ({ _t, useT }: use_TProps) => {
_t: (message: any) => any;
};
declare function getTranslatedText<T>(value: T, useT: boolean, _t?: (text: string) => string): T;
export default getTranslatedText;