'use client'; /** * Artifact Tab Component * * Tab voor een individueel artifact in de ArtifactContainer. * Toont titel, close button, en active state. * * Epic: E4 (Artifact Area & Tabs) * Story: E4.S1 (ArtifactContainer component) */ import { X } from 'lucide-react'; import { cn } from '@/lib/utils'; import type { Artifact } from '@/stores/swift-store'; interface ArtifactTabProps { artifact: Artifact; isActive: boolean; onSelect: (id: string) => void; onClose: (id: string) => void; } export function ArtifactTab({ artifact, isActive, onSelect, onClose }: ArtifactTabProps) { return (