import React, { PropTypes, Component } from 'react'
import Unread from './Unread'
import Participant from './Participant'
import Message from './Message'
class MapChat extends Component {
render = () => {
const rightOffset = this.props.isOpen ? '-300px' : '0'
return (
)
}
}
MapChat.propTypes = {
isOpen: 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