mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 18:12:59 +08:00
18 lines
581 B
JavaScript
18 lines
581 B
JavaScript
import React from 'react';
|
|
import cn from 'classnames';
|
|
import styles from './Tooltip.css';
|
|
import {t} from 'plugin-api/beta/client/services';
|
|
import {Icon} from 'plugin-api/beta/client/components/ui';
|
|
|
|
export default ({className = ''}) => (
|
|
<div className={cn(styles.tooltip, className)}>
|
|
<Icon name="info_outline" className={styles.icon} />
|
|
<h3 className={styles.headline}>
|
|
{t('talk-plugin-featured-comments.featured_comments')}:
|
|
</h3>
|
|
<p className={styles.description}>
|
|
{t('talk-plugin-featured-comments.tooltip_description')}
|
|
</p>
|
|
</div>
|
|
);
|