"use client" import * as React from "react" import { cn } from "@/lib/utils" import { Tabs, TabsList, TabsTrigger } from "@/registry/new-york-v4/ui/tabs" export function ComponentPreviewTabs({ className, align = "center", hideCode = false, component, source, ...props }: React.ComponentProps<"div"> & { align?: "center" | "start" | "end" hideCode?: boolean component: React.ReactNode source: React.ReactNode }) { const [tab, setTab] = React.useState("preview") return (