UNPKG

@mui/base

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

5 lines (4 loc) 445 B
import { ListAction, ListActionContext } from '../useList'; import { ActionWithContext } from '../utils/useControllableReducer.types'; import { SelectAction, SelectInternalState } from './useSelect.types'; export declare function selectReducer<OptionValue>(state: SelectInternalState<OptionValue>, action: ActionWithContext<ListAction<OptionValue> | SelectAction<OptionValue>, ListActionContext<OptionValue>>): SelectInternalState<OptionValue>;