'use client'; import React, { useState, useEffect } from 'react'; import { motion } from 'framer-motion'; import { QRCodeSVG } from 'qrcode.react'; import { FileSpreadsheet, ArrowRight } from 'lucide-react'; export const FeatureBulkDemo: React.FC = () => { const [showQRs, setShowQRs] = useState(false); const [hasAnimated, setHasAnimated] = useState(false); useEffect(() => { if (hasAnimated) return; const timer = setTimeout(() => { setShowQRs(true); setHasAnimated(true); }, 500); return () => clearTimeout(timer); }, [hasAnimated]); const qrCodes = [ { id: 1, url: 'product-1', delay: 0 }, { id: 2, url: 'product-2', delay: 0.1 }, { id: 3, url: 'product-3', delay: 0.2 }, { id: 4, url: 'product-4', delay: 0.3 }, { id: 5, url: 'product-5', delay: 0.4 }, { id: 6, url: 'product-6', delay: 0.5 }, ]; return (
Generate hundreds at once
products.csv
✓ 6 QR codes generated