4.0.0 • Published 11 months ago

@allthings/cdn-intl-provider v4.0.0

Weekly downloads
194
License
MIT
Repository
-
Last release
11 months ago

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-intls 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>
)
4.0.0

11 months ago

4.0.0-dev.1

11 months ago

4.0.0-dev.2

11 months ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago