mirror of
https://github.com/funamitech/mastodon
synced 2024-11-28 14:58:38 +09:00
13 lines
317 B
TypeScript
13 lines
317 B
TypeScript
import React from 'react';
|
|
import { Icon } from './icon';
|
|
|
|
type 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>
|
|
);
|