1 | import { ListState, ListAction, ListActionContext } from '../useList';
|
2 | import { ActionWithContext } from '../utils/useControllableReducer.types';
|
3 | import { ValueChangeAction } from './useTabsList.types';
|
4 | export type TabsListActionContext = ListActionContext<string | number> & {
|
5 | selectionFollowsFocus: boolean;
|
6 | };
|
7 | export default function tabsListReducer(state: ListState<string | number>, action: ActionWithContext<ListAction<string | number> | ValueChangeAction, TabsListActionContext>): ListState<string | number>;
|