import { Link } from 'react-router-dom'; import { ArrowUpRight, Terminal } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { CopyButton } from '@/components/ui/copy-button'; import { type SupportNoticeAction } from '@/lib/support-updates-catalog'; import { useTranslation } from 'react-i18next'; export function UpdatesNoticeActionRow({ action }: { action: SupportNoticeAction }) { const { t } = useTranslation(); return (

{action.label}

{action.description}

{action.type === 'route' && action.path && ( )}
{action.type === 'command' && action.command && (
{action.command}
)}
); }