import { h } from 'preact'; import PropTypes from 'prop-types'; import { defaultChannelPropTypes } from '../../common-prop-types/channel-list-prop-type'; /** * Returns an image to help users identify chat channels * * @param {object} channel - Contains information about the channel this image represents * @param {string} newMessagesIndicator - Used to construct a CSS classname * @param {boolean} discoverableChannel - Used to determine which CSS class should be applied * * @example * */ export function ChannelImage({ channel, newMessagesIndicator, discoverableChannel, }) { return ( pic ); } ChannelImage.propTypes = { channel: defaultChannelPropTypes, newMessagesIndicator: PropTypes.string, discoverableChannel: PropTypes.bool, };