UNPKG

nepali-date-selector

Version:
9 lines (8 loc) 395 B
import { localeType } from "../Types"; import translations from "./translations"; declare type TranslationKey = keyof typeof translations; declare const useTrans: (currentLocale: localeType) => { trans: (key: TranslationKey, locale?: "en" | "ne" | undefined) => string; numberTrans: (num: number | string, locale?: "en" | "ne" | undefined) => string; }; export default useTrans;