mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 15:41:02 +08:00
10 lines
339 B
JavaScript
10 lines
339 B
JavaScript
import React from 'react';
|
|
import {TabCount} from 'plugin-api/beta/client/components/ui';
|
|
|
|
// TODO: This is just example code, and needs to replaced by an actual implementation.
|
|
export default ({active, asset: {featuredCommentCount}}) => (
|
|
<span>
|
|
Featured <TabCount active={active} sub>{featuredCommentCount}</TabCount>
|
|
</span>
|
|
);
|