import { Icon } from '@rocket.chat/fuselage'; import type { ComponentProps } from 'react'; import { useTranslation } from 'react-i18next'; import { useTimeAgo } from '../../hooks/useTimeAgo'; export type InvitationBadgeProps = Omit, 'name' | 'color' | 'role'> & { invitationDate: string | Date; }; const InvitationBadge = ({ invitationDate, ...props }: InvitationBadgeProps) => { const { t } = useTranslation(); const timeAgo = useTimeAgo(); return ( ); }; export default InvitationBadge;