UNPKG

@redocly/theme

Version:

Shared UI components lib

21 lines (20 loc) 1.05 kB
import React from 'react'; import type { JSX } from 'react'; import { TabItemProps, TabsSize } from '../../../markdoc/components/Tabs/Tabs'; type TabListProps = { childrenArray: React.ReactElement<TabItemProps>[]; size: TabsSize; activeTab: string; onTabChange: (tab: string) => void; containerRef: React.RefObject<HTMLUListElement | null>; onReadyChange?: (isReady: boolean) => void; }; export declare function TabList({ childrenArray, size, activeTab, onTabChange, containerRef, onReadyChange, }: TabListProps): JSX.Element; export declare const TabListContainer: import("styled-components").StyledComponent<"ul", any, {}, never>; export declare const TabItem: import("styled-components").StyledComponent<"li", any, { active?: boolean; size: TabsSize; tabIndex?: number; }, never>; export declare const TabButtonLink: import("styled-components").StyledComponent<React.FC<import("../../../components/Button/Button").ButtonProps>, any, import("../../../components/Button/Button").ButtonProps, never>; export {};