mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add staff badge near comment author (#280)
This commit is contained in:
committed by
GitHub
parent
1d5df21301
commit
5221df1b2b
@@ -1,4 +1,5 @@
|
||||
import * as React from 'react';
|
||||
import I18n from 'i18n-js';
|
||||
|
||||
import { BsReply } from 'react-icons/bs';
|
||||
import { FiEdit, FiDelete } from 'react-icons/fi';
|
||||
@@ -7,6 +8,7 @@ import { TbLock, TbLockOpen } from 'react-icons/tb';
|
||||
import { MdContentCopy, MdDone, MdOutlineArrowBack } from 'react-icons/md';
|
||||
import { GrTest } from 'react-icons/gr';
|
||||
import { MdOutlineLibraryBooks } from "react-icons/md";
|
||||
import { MdVerified } from "react-icons/md";
|
||||
|
||||
export const EditIcon = () => <FiEdit />;
|
||||
|
||||
@@ -28,4 +30,10 @@ export const BackIcon = () => <MdOutlineArrowBack />;
|
||||
|
||||
export const ReplyIcon = () => <BsReply />;
|
||||
|
||||
export const LearnMoreIcon = () => <MdOutlineLibraryBooks />;
|
||||
export const LearnMoreIcon = () => <MdOutlineLibraryBooks />;
|
||||
|
||||
export const StaffIcon = () => (
|
||||
<span title={I18n.t('common.user_staff')} className="staffIcon">
|
||||
<MdVerified />
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user