"use client"; import {mergeProps} from "@base-ui/react/merge-props"; import {Tabs as BaseTabs} from "@base-ui/react/tabs"; import {useRender} from "@base-ui/react/use-render"; import * as React from "react"; import {cn} from "@/lib/utilities"; import styles from "./tabs.module.css"; interface TabsProps extends Omit, "className"> { /** Additional CSS classes merged with the tabs root styles. @default undefined */ className?: string; } interface TabsListProps extends Omit, "className"> { /** Additional CSS classes merged with the tabs list styles. @default undefined */ className?: string; } interface TabsTriggerProps extends Omit, "className"> { /** Additional CSS classes merged with the individual tab trigger styles. @default undefined */ className?: string; } interface TabsContentProps extends Omit, "className"> { /** Additional CSS classes merged with the tab panel styles. @default undefined */ className?: string; } /** * Coordinates a tabbed interface for switching between related panels. * * @remarks * - Renders a `
` element by default * - Built on {@link https://base-ui.com/react/components/tabs | Base UI Tabs} * - Supports the `render` prop for element composition * - Styling via CSS Modules with `--ac-*` custom properties * * @example Basic usage * ```tsx * * * Overview * * Content * * ``` * * @see {@link https://base-ui.com/react/components/tabs | Base UI Documentation} */ function Tabs(props: Readonly): React.ReactElement { const {className, children, render, ...otherProps} = props; return ( {children} ); } Tabs.displayName = "Tabs"; /** * Renders the tab list along with the shared active indicator. * * @remarks * - Renders a `
` element by default * - Built on {@link https://base-ui.com/react/components/tabs | Base UI Tabs} * - Supports the `render` prop for element composition * - Styling via CSS Modules with `--ac-*` custom properties * * @example Basic usage * ```tsx * * Overview * * ``` * * @see {@link https://base-ui.com/react/components/tabs | Base UI Documentation} */ function TabsList(props: Readonly): React.ReactElement { const {className, children, render, ...otherProps} = props; return ( {children} ); } TabsList.displayName = "TabsList"; /** * Activates a specific tab panel within the surrounding tabs root. * * @remarks * - Renders a `