mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
replaced eslint:recommended with prettier
This commit is contained in:
@@ -8,16 +8,19 @@ import styles from './ReplyButton.css';
|
||||
|
||||
const name = 'talk-plugin-replies';
|
||||
|
||||
const ReplyButton = ({onClick}) => {
|
||||
const ReplyButton = ({ onClick }) => {
|
||||
return (
|
||||
<button
|
||||
className={cn(`${name}-reply-button`, styles.button)}
|
||||
onClick={onClick}>
|
||||
<span className={cn(`${name}-label`, styles.label)}>
|
||||
{t('reply')}
|
||||
</span>
|
||||
<i className={cn(`${name}-icon`, 'material-icons', styles.icon)}
|
||||
aria-hidden={true}>reply</i>
|
||||
onClick={onClick}
|
||||
>
|
||||
<span className={cn(`${name}-label`, styles.label)}>{t('reply')}</span>
|
||||
<i
|
||||
className={cn(`${name}-icon`, 'material-icons', styles.icon)}
|
||||
aria-hidden={true}
|
||||
>
|
||||
reply
|
||||
</i>
|
||||
</button>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user