@allthings/cdn-intl-provider
v4.0.0
Published
## Install
Downloads
1,474
Keywords
Readme
CDNIntlProvider
Install
yarn add @allthings/cdn-intl-provider
This project uses following peer dependencies, which need to be installed in your project:
react >= 16.8
react-intl >= 6.6.8
Description
This is a thin wrapper around react-intl
s IntlProvider
for Allthings purposes.
Example usage
import CDNIntlProvider from '@allthings/cdn-intl-provider'
// …
const App = () => (
<CDNIntlProvider
resourcePath="https://static.allthings.me"
locale="de"
project="app"
stage="production"
variation="default"
>
<Main />
</CDNIntlProvider>
)