const React = require('react'); const PropTypes = require('prop-types'); class TeamListItem extends React.Component { constructor(props) { super(props); this.handleTeamRemove = this.handleTeamRemove.bind(this); this.handleTeamEditing = this.handleTeamEditing.bind(this); } handleTeamRemove() { this.props.onTeamRemove(); } handleTeamEditing() { this.props.onTeamEditing(); } render() { return (
{ this.props.url }