"use client" import { XIcon } from "lucide-react" import { Badge } from "@/components/reui/badge" import { Button } from "@/components/ui/button" export interface SliceChip { key: string label: string } export function SliceChips({ chips, onRemove, }: { chips: SliceChip[] onRemove: (key: string) => void }) { if (!chips.length) return null return (