const React = require('react'); // const ReactIntl = require('react-intl'); const ReactRedux = require('react-redux'); // const ReactRouter = require('react-router'); const Row = require('@ui/components/row'); const Column= require('@ui/components/column'); const Button= require('@ui/components/button'); const PropTypes = require('@root/prop-types'); const PeopleList = require('@components/people-list'); const selectors = require('@state/selectors'); const Section = require('./section'); // const { // FormattedMessage // } = ReactIntl; const { connect } = ReactRedux; const { peopleByOrgIdSelector } = selectors; const buttonStyle = { float: 'right' }; const People = (props) => { const { people = [] } = props; return (
); }; People.propTypes = { people: React.PropTypes.arrayOf(PropTypes.person) // toggleCollapsed: React.PropTypes.func }; const mapStateToProps = (state, { params = {} }) => ({ people: peopleByOrgIdSelector(params.org)(state) }); const mapDispatchToProps = (dispatch) => ({}); module.exports = connect( mapStateToProps, mapDispatchToProps )(People);