export const VersionBadge = ({ version }) => {
    return (
        <a
            href={`https://github.com/prowler-cloud/prowler/releases/tag/${version}`}
            target="_blank"
            rel="noopener noreferrer"
            className="version-badge-link"
        >
            <span className="version-badge-container">
                <span className="version-badge">
                    <span className="version-badge-label">Added in:</span>&nbsp;
                    <span className="version-badge-version">{version}</span>
                </span>
            </span>
        </a>
    );
};
