mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
Removing innecesary connects, and classes
This commit is contained in:
@@ -2,16 +2,12 @@ import React from 'react';
|
||||
import {Icon} from 'plugin-api/beta/client/components/ui';
|
||||
import styles from './Tooltip.css';
|
||||
|
||||
export default class Tooltip extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className={styles.tooltip}>
|
||||
<Icon name="info_outline" className={styles.icon} />
|
||||
<h3 className={styles.headline}>Featured Comments:</h3>
|
||||
<p className={styles.description}>
|
||||
Comments selected by our team as worth reading
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
export default () => (
|
||||
<div className={styles.tooltip}>
|
||||
<Icon name="info_outline" className={styles.icon} />
|
||||
<h3 className={styles.headline}>Featured Comments:</h3>
|
||||
<p className={styles.description}>
|
||||
Comments selected by our team as worth reading
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user