UNPKG

@yandex/ui

Version:

Yandex UI components

11 lines (10 loc) 445 B
/// <reference types="react" /> import { ITabsMenuTabProps } from '../Tab/TabsMenu-Tab'; interface IUseAdaptiveTabsProps { tabs: ITabsMenuTabProps[]; tabsRefs: Array<React.RefObject<HTMLLIElement>>; wrapperRef: React.RefObject<HTMLUListElement>; moreRef: React.RefObject<HTMLLIElement>; } export declare const useAdaptiveTabs: ({ tabs, tabsRefs, wrapperRef, moreRef }: IUseAdaptiveTabsProps) => ITabsMenuTabProps[][]; export {};