import React, { createContext, useContext } from "react";
import { cn } from "@/lib/utils";
const TabsContext = createContext(null);
export function Tabs({ value, onValueChange, children, className }) {
return (
{children}
);
}
export function TabsList({ className, ...props }) {
return (
);
}
export function TabsTrigger({ value, className, children, ...props }) {
const ctx = useContext(TabsContext);
const selected = ctx?.value === value;
return (
);
}