Timeling translations.
Install
npm i @timeling/intl
Relevant scripts
# install libraries
npm install
# compile the library into the "dist" folder
npm run build
# publish the library to npmjs.com
npm publish
Usage
import { IntlProvider } from 'react-intl'
import messages from '@timeling/intl'
// ...etc...
export function AppContainer = () => {
return (
<IntlProvider messages={messages} {...moreParams}>
<App />
</IntlProvider>
)
}