How to use the rmw-shell/lib/config/locales.addLocalizationData function in rmw-shell

To help you get started, we’ve selected a few rmw-shell examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TarikHuber / react-most-wanted / src / containers / Main / Main.js View on Github external
import App from 'rmw-shell'
import React, { Component } from 'react'
import config from '../../config'
import configureStore from '../../store'
import locales from '../../config/locales'
import { Helmet } from 'react-helmet'
import { addLocalizationData } from 'rmw-shell/lib/config/locales'
import { withA2HS } from 'a2hs'

addLocalizationData(locales)

class Main extends Component {
  componentDidMount () {
    // const { setA2HPState } = this.props
    // console.log(this.props)
    // setA2HPState({ isAppInstallable: true })
  }

  render () {
    return <div>
      
        
        
        
      
</div>