'use client'; interface VisualizerProps { currentStep: number; isPlaying: boolean; } export function Visualizer({ currentStep, isPlaying }: VisualizerProps) { return (
{Array.from({ length: 16 }, (_, i) => { const isActive = isPlaying && currentStep === i; const isBeat = i % 4 === 0; return (
); })}
); }