nepali-date-selector
Version:
Nepali Date Selector
10 lines (8 loc) • 369 B
TypeScript
import { localeType } from '../Types';
import { default as translations } from './translations';
type TranslationKey = keyof typeof translations;
declare const useTrans: (currentLocale: localeType) => {
trans: (key: TranslationKey, locale?: localeType) => string;
numberTrans: (num: number | string, locale?: localeType) => string;
};
export default useTrans;