import * as React from 'react'; import AppConstants from '../constants/AppConstants'; class Settings extends React.Component { constructor(props) { super(props); this.componentName = "[Settings.jsx] "; } render() { console.log(this.componentName + 'render'); let properties = Object.getOwnPropertyNames(AppConstants); let rows = properties.map(function (key) { return ( {key} {AppConstants[key]} ); }); return (

Settings

{rows}
); } } export default Settings;