mirror of
https://github.com/wassname/talk.git
synced 2026-07-09 05:03:47 +08:00
15 lines
457 B
JavaScript
15 lines
457 B
JavaScript
import React from 'react';
|
|
import styles from './RejectCommentAction.css';
|
|
import {t} from 'plugin-api/beta/client/services';
|
|
import {Icon} from 'plugin-api/beta/client/components/ui';
|
|
import cn from 'classnames';
|
|
|
|
export default ({rejectComment}) => (
|
|
<button
|
|
className={cn(styles.button, 'talk-plugin-reject-comment-action')}
|
|
onClick={rejectComment}>
|
|
<Icon name="clear" />
|
|
{t('talk-plugin-reject-comment.reject_comment')}
|
|
</button>
|
|
);
|