import React, {Component, PropTypes} from 'react' import {bindActionCreators} from 'redux' import {connect} from 'react-redux' import Dropdown from '../components/base/Dropdown' import * as RequestActions from '../redux/modules/requests' import * as db from '../database'; class RequestActionsDropdown extends Component { render () { const {actions, request, ...other} = this.props; return ( ) } } RequestActionsDropdown.propTypes = { request: PropTypes.object.isRequired, actions: PropTypes.shape({ showUpdateNamePrompt: PropTypes.func.isRequired }) }; function mapStateToProps (state) { return { actions: state.actions }; } function mapDispatchToProps (dispatch) { return { actions: bindActionCreators(RequestActions, dispatch) } } export default connect( mapStateToProps, mapDispatchToProps )(RequestActionsDropdown);