Files
talk/plugins/talk-plugin-featured-comments/client/components/Tab.js
T
Chi Vinh Le da2bc69d19 Translation
2017-07-20 01:27:06 +07:00

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>
);