import React, { PropTypes, Component } from 'react'
class MapChat extends Component {
render() {
const rightOffset = this.props.show ? '-300px' : '0'
return (
)
}
}
MapChat.propTypes = {
show: PropTypes.bool,
leaveCall: PropTypes.func,
joinCall: PropTypes.func,
participants: PropTypes.arrayOf(PropTypes.shape({
color: PropTypes.string // css color
id: PropTypes.number,
image: PropTypes.string, // image url
self: PropTypes.bool,
username: PropTypes.string,
}))
}
export default MapChat