1.0.0 • Published 4 years ago
kopjra-ui v1.0.0
#UIKit
KNavLangSelector
This component renders the language selection combobox. Since it uses react-redux-i18n
, it would be proper to integrate the component adding the library
reducer into the property i18n
of the app root state.
Then in the index the state should be initialized following react-redux-i18n
instructions. Before these initializations the function initLocale
must be
called, this function returns the initial locale to be used.