import * as react from 'react'; import { ComponentProps } from 'react'; import * as _headlessui_react from '@headlessui/react'; import * as react_jsx_runtime_js from 'react/jsx-runtime.js'; import { Tabs as Tabs$1 } from './index.client.js'; /** * A built-in component for creating tabbed content, helping organize related information in a * compact, interactive layout. * * @example * * **pnpm**: Fast, disk space efficient package manager. * **npm** is a package manager for the JavaScript programming language. * **Yarn** is a software packaging system. * * * @usage * ```mdx * import { Tabs } from 'nextra/components' * * * **pnpm**: Fast, disk space efficient package manager. * **npm** is a package manager for the JavaScript programming language. * **Yarn** is a software packaging system. * * ``` * * ### Default Selected Index * * You can use the `defaultIndex` prop to set the default tab index: * * ```mdx /defaultIndex="1"/ * import { Tabs } from 'nextra/components' * * * ... * * ``` * * And you will have `npm` as the default tab: * * * **pnpm**: Fast, disk space efficient package manager. * **npm** is a package manager for the JavaScript programming language. * **Yarn** is a software packaging system. * */ declare const Tabs: ((props: ComponentProps) => react_jsx_runtime_js.JSX.Element) & { Tab: react.FC<_headlessui_react.TabPanelProps>; }; export { Tabs };