import * as React from "react"; import { StoryComment, CivilCommentHeader, CivilCommentContent, CivilCommentAvatarContainer, CivilCommentAvatar, CivilCommentHeaderLeft, CivilCommentHeaderRight, } from "./StoryFeedStyledComponents"; import { PostComments } from "./PostComments"; export interface CivilCommentProps { comment: any; level: number; } export const CivilComment: React.FunctionComponent = props => { const { commentType, text, channel, id, children, numChildren } = props.comment.post; const { tiny72AvatarDataUrl, handle } = channel; return ( {"@" + handle} {commentType === "comment_announcement" && <>ANNOUNCEMENT}

{text}

); };