2023-05-07 07:10:58 +00:00
|
|
|
import React from 'react';
|
2023-05-10 10:59:29 +00:00
|
|
|
|
2023-05-07 07:10:58 +00:00
|
|
|
import { Icon } from './icon';
|
|
|
|
|
2023-05-10 10:59:29 +00:00
|
|
|
interface Props {
|
2023-05-07 07:10:58 +00:00
|
|
|
link: string;
|
2023-05-10 10:59:29 +00:00
|
|
|
}
|
2023-05-07 07:10:58 +00:00
|
|
|
export const VerifiedBadge: React.FC<Props> = ({ link }) => (
|
|
|
|
<span className='verified-badge'>
|
|
|
|
<Icon id='check' className='verified-badge__mark' />
|
|
|
|
<span dangerouslySetInnerHTML={{ __html: link }} />
|
|
|
|
</span>
|
|
|
|
);
|