mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 01:24:02 -05:00
14 lines
320 B
TypeScript
14 lines
320 B
TypeScript
import React from 'react';
|
|
|
|
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>
|
|
);
|