UNPKG

nepali-date-selector

Version:
10 lines (8 loc) 369 B
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;