Merge pull request #885 from coralproject/subscriber

Adding new Slot: commentAuthorTags
This commit is contained in:
Wyatt Johnson
2017-08-28 16:18:32 -06:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
@@ -447,6 +447,14 @@ export default class Comment extends React.Component {
{isStaff(comment.tags) ? <TagLabel>Staff</TagLabel> : null}
<Slot
className={cn('talk-stream-comment-author-tags')}
fill="commentAuthorTags"
queryData={queryData}
{...slotProps}
inline
/>
<span className={`${styles.bylineSecondary} talk-stream-comment-user-byline`} >
<PubDate created_at={comment.created_at} className={'talk-stream-comment-published-date'} />
{
@@ -16,7 +16,8 @@ const slots = [
'commentContent',
'commentReactions',
'commentAvatar',
'commentAuthorName'
'commentAuthorName',
'commentAuthorTags'
];
/**