import { MessageSquare, CheckSquare, Star, BarChart3, Image, Video, Code, Quote } from 'lucide-react' const components = [ { type: 'quiz', name: 'Quiz', icon: CheckSquare, color: 'text-green-600' }, { type: 'comment', name: 'Comments', icon: MessageSquare, color: 'text-blue-600' }, { type: 'rating', name: 'Rating', icon: Star, color: 'text-yellow-600' }, { type: 'progress', name: 'Progress Bar', icon: BarChart3, color: 'text-purple-600' }, { type: 'image', name: 'Image Gallery', icon: Image, color: 'text-indigo-600' }, { type: 'video', name: 'Video Player', icon: Video, color: 'text-red-600' }, { type: 'code', name: 'Code Block', icon: Code, color: 'text-gray-600' }, { type: 'quote', name: 'Quote Box', icon: Quote, color: 'text-orange-600' }, ] export default function ComponentLibrary({ onAddComponent }) { return (

Interactive Components

{components.map((component) => { const Icon = component.icon return ( ) })}
) }