Created
August 12, 2020 18:38
-
-
Save ljmotta/8fe2acd17e0a684c24df2f62c8218b1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const english: MyDictionary = { | |
inputName: "Please, enter your name", | |
welcome: (name) => `Welcome ${name.bold()}`, | |
home: { | |
title: "This is a React i18n library!", | |
body: "Use i18n on your TypeScript projects!" | |
}, | |
currentLocale: (locale) => `My current locale is: ${locale}` | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment