mirror of
https://github.com/whippyshou/mastodon
synced 2024-12-23 19:18:57 +09:00
12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
import { Icon } from './icon';
|
|
|
|
interface Props {
|
|
link: string;
|
|
}
|
|
export const VerifiedBadge: React.FC<Props> = ({ link }) => (
|
|
<span className='verified-badge'>
|
|
<Icon id='check' className='verified-badge__mark' />
|
|
<span dangerouslySetInnerHTML={{ __html: link }} />
|
|
</span>
|
|
);
|