import TextInputArea from '@/components/TextInputArea'; import QrCodePreview from '@/components/QrCodePreview'; import { useLazyTranslation } from '@/utils/useLazyTranslation'; import { useQrCodeContext } from '../contexts/QrCodeContext'; import { Label } from '@/components/ui/label'; import { cn } from '@/lib/utils'; export default function GeneratePanel() { const { t } = useLazyTranslation('qrCode'); const { generatorState, setTextToEncode, downloadQrCode, copyQrCode } = useQrCodeContext(); return (
{/* 左翼:高性能受控输入翼终端 */}
{/* 💡 2. 独立外置标签架(A11y 无障碍对齐): - 彻底删掉 TextInputArea 上引发崩溃的违规属性。 - 改用正统的
{/* 右翼:活态二维码高精生成区 */}
); }