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/subscriptions/index.jsx | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/assets/javascripts/components/features/subscriptions/index.jsx (limited to 'app/assets/javascripts/components/features/subscriptions/index.jsx') diff --git a/app/assets/javascripts/components/features/subscriptions/index.jsx b/app/assets/javascripts/components/features/subscriptions/index.jsx new file mode 100644 index 000000000..780234fd9 --- /dev/null +++ b/app/assets/javascripts/components/features/subscriptions/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 Subscriptions = React.createClass({ + + propTypes: { + params: React.PropTypes.object.isRequired, + dispatch: React.PropTypes.func.isRequired + }, + + mixins: [PureRenderMixin], + + componentWillMount () { + // + }, + + render () { + return
Subscriptions
; + } + +}); + +export default connect(mapStateToProps)(Subscriptions); -- cgit