mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-29 03:20:26 -05:00
2efb22f455
Port 140aa6b054
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
15 lines
348 B
TypeScript
15 lines
348 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>
|
|
);
|
|
|
|
export default VerifiedBadge;
|