/** * View Key Panel - Display SSH key details */ import { Copy,Info } from 'lucide-react'; import React from 'react'; import { SSHKey } from '../../types'; import { Button } from '../ui/button'; import { Label } from '../ui/label'; import { copyToClipboard } from './utils'; interface ViewKeyPanelProps { keyItem: SSHKey; onExport: () => void; } export const ViewKeyPanel: React.FC = ({ keyItem, onExport, }) => { return ( <>

{keyItem.label}

{keyItem.publicKey && (
{keyItem.publicKey}
)}

{keyItem.type}

{keyItem.source === 'biometric' && (

256

)} {/* Key Export section */}
Key export
); };