Files
Checkmate/node_modules/@mui/base/useSelect/selectReducer.d.ts
2024-05-05 11:21:00 +03:30

5 lines
445 B
TypeScript

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>;