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