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