mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
Implement pagination
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import {TabCount} from 'plugin-api/beta/client/components/ui';
|
||||
import {t} from 'plugin-api/beta/client/services';
|
||||
|
||||
// TODO: This is just example code, and needs to replaced by an actual implementation.
|
||||
export default ({active, asset: {featuredCommentsCount}}) => (
|
||||
<span>
|
||||
Featured <TabCount active={active} sub>{featuredCommentsCount}</TabCount>
|
||||
{t('featured')} <TabCount active={active} sub>{featuredCommentsCount}</TabCount>
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user