1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-14 22:59:38 +09:00
whippy-edition/app/javascript/mastodon/components/verified_badge.tsx

14 lines
320 B
TypeScript

import React from 'react';
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>
);