+
+
+
{options}
+
+ );
+}
+ChannelSelectorWrapper.defaultProps = {
+ options: null,
+};
+ChannelSelectorWrapper.propTypes = {
+ isSelected: PropTypes.bool.isRequired,
+ onClick: PropTypes.func.isRequired,
+ content: PropTypes.node.isRequired,
+ options: PropTypes.node,
+};
+
+function ChannelSelector({
+ name, roomId, imageSrc, iconSrc,
+ isSelected, isUnread, notificationCount, isAlert,
+ options, onClick,
+}) {
+ return (
+
-