'use client'; import { Card } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; import { cn } from '@/lib/utils'; import { SectionType, SECTION_COLORS } from '@/types/audio'; interface SectionPickerProps { onSelect: (type: SectionType) => void; onClose: () => void; className?: string; } const sectionTypes: { type: SectionType; label: string }[] = [ { type: 'intro', label: 'Intro' }, { type: 'verse', label: 'Verse' }, { type: 'chorus', label: 'Chorus' }, { type: 'drop', label: 'Drop' }, { type: 'bridge', label: 'Bridge' }, { type: 'outro', label: 'Outro' }, ]; export function SectionPicker({ onSelect, onClose, className }: SectionPickerProps) { return ( e.stopPropagation()} >
Add Section
{sectionTypes.map(({ type, label }) => ( ))}
); }