import React from 'react'; import classNames from 'classnames'; import { injectIntl } from '@edx/frontend-platform/i18n'; import { Avatar } from '@edx/paragon'; import { AvatarOutlineAndLabelColors } from '../../../../data/constants'; import { AuthorLabel } from '../../../common'; import { useAlertBannerVisible } from '../../../data/hooks'; import { commentShape } from './proptypes'; function CommentHeader({ comment, }) { const colorClass = AvatarOutlineAndLabelColors[comment.authorLabel]; const hasAnyAlert = useAlertBannerVisible(comment); return (
); } CommentHeader.propTypes = { comment: commentShape.isRequired, }; export default injectIntl(CommentHeader);