UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

15 lines (14 loc) 432 B
type ParamsType = { tabsLength: number; numTabsInView: number; selectedTab?: string | number; }; type ReturnType = { position: number; handleClickIcon: (isNextPosition: boolean) => void; focus: number; handleClickTab: (newFocus: number) => void; listEl: React.RefObject<HTMLElement>; }; export declare const useTabs: ({ numTabsInView, tabsLength, selectedTab }: ParamsType) => ReturnType; export {};