From 5b0cef9781af519a0a6ace1f429162ae05863bde Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 16 Sep 2016 00:21:51 +0200 Subject: Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context --- .../components/features/settings/index.jsx | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/assets/javascripts/components/features/settings/index.jsx (limited to 'app/assets/javascripts/components/features/settings') diff --git a/app/assets/javascripts/components/features/settings/index.jsx b/app/assets/javascripts/components/features/settings/index.jsx new file mode 100644 index 000000000..f9921d951 --- /dev/null +++ b/app/assets/javascripts/components/features/settings/index.jsx @@ -0,0 +1,28 @@ +import { connect } from 'react-redux'; +import PureRenderMixin from 'react-addons-pure-render-mixin'; +import ImmutablePropTypes from 'react-immutable-proptypes'; + +const mapStateToProps = (state, props) => ({ + +}); + +const Settings = React.createClass({ + + propTypes: { + params: React.PropTypes.object.isRequired, + dispatch: React.PropTypes.func.isRequired + }, + + mixins: [PureRenderMixin], + + componentWillMount () { + // + }, + + render () { + return
Settings
; + } + +}); + +export default connect(mapStateToProps)(Settings); -- cgit