import type { Card } from '@rocket.chat/fuselage'; import type { ComponentProps } from 'react'; import { useTranslation } from 'react-i18next'; import { GenericCard, GenericCardButton } from '../../../components/GenericCard'; import { useExternalLink } from '../../../hooks/useExternalLink'; import { links } from '../../../lib/links'; const DOCS_URL = links.go.documentation; const DocumentationCard = (props: Omit, 'type'>) => { const { t } = useTranslation(); const handleOpenLink = useExternalLink(); return ( handleOpenLink(DOCS_URL)} role='link'> {t('See_documentation')} , ]} width='x340' {...props} /> ); }; export default DocumentationCard;