import React from 'react'; import PropTypes from 'prop-types'; import './ChannelSelector.scss'; import colorMXID from '../../../util/colorMXID'; import Text from '../../atoms/text/Text'; import Avatar from '../../atoms/avatar/Avatar'; import NotificationBadge from '../../atoms/badge/NotificationBadge'; import { blurOnBubbling } from '../../atoms/button/script'; function ChannelSelector({ selected, unread, notificationCount, alert, iconSrc, imageSrc, roomId, onClick, children, }) { return ( ); } ChannelSelector.defaultProps = { selected: false, unread: false, notificationCount: 0, alert: false, iconSrc: null, imageSrc: null, }; ChannelSelector.propTypes = { selected: PropTypes.bool, unread: PropTypes.bool, notificationCount: PropTypes.number, alert: PropTypes.bool, iconSrc: PropTypes.string, imageSrc: PropTypes.string, roomId: PropTypes.string.isRequired, onClick: PropTypes.func.isRequired, children: PropTypes.string.isRequired, }; export default ChannelSelector;