mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 03:28:06 +01:00
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;
|