Skip to content

Instantly share code, notes, and snippets.

@RaulTsc
Last active February 22, 2017 08:40
Show Gist options
  • Save RaulTsc/4cef78771d3c8d96b36e43888d471b06 to your computer and use it in GitHub Desktop.
Save RaulTsc/4cef78771d3c8d96b36e43888d471b06 to your computer and use it in GitHub Desktop.
// @flow

import React from 'react';
import {asyncConnect as connect} from 'redux-connect';
// import css from './Component.scss';

const asyncActions = [{
  promise: () => Promise.all([]),
}];
const propTypes = {};
const mapStateToProps = () => ({});
const mapDispatchToProps = () => ({});

export const Component = () => (
  <div />
);
Component.propTypes = propTypes;

export default connect(asyncActions, mapStateToProps, mapDispatchToProps)(Component);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment