mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-30 20:03:43 +01:00
14 lines
348 B
TypeScript
14 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;
|