import React, {Component, PropTypes} from 'react' import {bindActionCreators} from 'redux' import {connect} from 'react-redux' import Dropdown from '../base/Dropdown' import * as RequestActions from '../../modules/requests' import * as db from '../../database/index'; 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);