minishouyin/node_modules/rc-cascader/lib/hooks/useSelect.d.ts

5 lines
576 B
TypeScript
Raw Normal View History

2025-11-12 11:35:57 +08:00
/// <reference types="react" />
import type { InternalValueType, ShowCheckedStrategy, SingleValueType } from '../Cascader';
import type { GetEntities } from './useEntities';
export default function useSelect(multiple: boolean, triggerChange: (nextValues: InternalValueType) => void, checkedValues: SingleValueType[], halfCheckedValues: SingleValueType[], missingCheckedValues: SingleValueType[], getPathKeyEntities: GetEntities, getValueByKeyPath: (pathKeys: React.Key[]) => SingleValueType[], showCheckedStrategy?: ShowCheckedStrategy): (valuePath: SingleValueType) => void;