/** * CveLink Component * * Displays a CVE ID with an external link icon that links to the NIST NVD database. * Part of the ODS (OpenFrame Design System) platform components. * * @example * ```tsx * * ``` */ import React from 'react' import { CustomExternalLinkIcon } from '../icons' import { cn } from '../../utils/cn' export interface CveLinkProps { /** CVE ID (e.g., "CVE-2024-1234") */ cveId: string /** Additional CSS classes */ className?: string } export const CveLink: React.FC = ({ cveId, className }) => { const nistUrl = `https://nvd.nist.gov/vuln/detail/${cveId}` return ( {cveId} ) } CveLink.displayName = 'CveLink'