UNPKG

@redocly/theme

Version:

Shared UI components lib

13 lines (12 loc) 450 B
import type { CodeBlockItems } from '../../components/CodeBlock/CodeBlock'; type CodeBlockTabsProps = { tabs: CodeBlockItems; containerRef: React.RefObject<HTMLDivElement | null>; tabRefs: React.RefObject<HTMLButtonElement[]>; }; export declare function useCodeBlockTabsControls({ tabs, containerRef, tabRefs }: CodeBlockTabsProps): { showControls: boolean; handlePrevTab: () => void; handleNextTab: () => void; }; export {};