const React = require('react'); const Row = require('@ui/components/row'); const Column = require('@ui/components/column'); const Button = require('@ui/components/button'); const PeopleTable = require('./table'); const Invite = require('./invite'); const buttonStyle = { float: 'right' }; const People = (props) => { const { UI = {}, handleToggle, people } = props; return (
{UI.invite_toggled ? : null} { people.length > 0 ? :

There is nobody in this orgnaisation

}
); }; People.propTypes = { UI: React.PropTypes.object, handleToggle: React.PropTypes.func, people: React.PropTypes.array, }; module.exports = People;