mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 01:20:14 +08:00
10 lines
342 B
JavaScript
10 lines
342 B
JavaScript
import React from 'react';
|
|
import {TabCount} from 'plugin-api/beta/client/components/ui';
|
|
import {t} from 'plugin-api/beta/client/services';
|
|
|
|
export default ({active, asset: {featuredCommentsCount}}) => (
|
|
<span>
|
|
{t('talk-plugin-featured-comments.featured')} <TabCount active={active} sub>{featuredCommentsCount}</TabCount>
|
|
</span>
|
|
);
|