chinwagsocial/app/javascript/mastodon/components/verified_badge.tsx
2023-05-23 10:52:27 +02:00

11 lines
292 B
TypeScript

import { Icon } from './icon';
interface 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>
);