Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import React from 'react';
import { NativeLang, StyledLanguageInNative } from './styled';
class Language extends React.PureComponent {
render() {
const { language, name, languageInNative, shouldShowNative } = this.props;
return (React.createElement(NativeLang, null,
React.createElement(StyledLanguageInNative, { className: 'locale-' + language }, languageInNative)));
}
}
Language.defaultProps = {
shouldShowNative: true,
language: 'english',
name: 'English',
languageInNative: '(english)',
};
export default Language;
export { Language };
//# sourceMappingURL=Language.js.map