rc-cascader-v5
Version:
cascade select ui component for react
5 lines (4 loc) • 559 B
TypeScript
/// <reference types="react" />
import type { ShowCheckedStrategy, SingleValueType, ValueType } from '../Cascader';
import type { GetEntities } from './useEntities';
export default function useSelect(multiple: boolean, triggerChange: (nextValues: ValueType) => void, checkedValues: SingleValueType[], halfCheckedValues: SingleValueType[], missingCheckedValues: SingleValueType[], getPathKeyEntities: GetEntities, getValueByKeyPath: (pathKeys: React.Key[]) => SingleValueType[], showCheckedStrategy: ShowCheckedStrategy): (valuePath: SingleValueType) => void;