useKeyboard.d.ts 686 B

12345678910
  1. import type { RefOptionListProps } from 'rc-select/lib/OptionList';
  2. import * as React from 'react';
  3. import type { DefaultOptionType, InternalFieldNames, SingleValueType } from '../Cascader';
  4. declare const _default: (ref: React.Ref<RefOptionListProps>, options: DefaultOptionType[], fieldNames: InternalFieldNames, activeValueCells: React.Key[], setActiveValueCells: (activeValueCells: React.Key[]) => void, onKeyBoardSelect: (valueCells: SingleValueType, option: DefaultOptionType) => void, contextProps: {
  5. direction?: "ltr" | "rtl" | undefined;
  6. searchValue: string;
  7. toggleOpen: (open?: boolean) => void;
  8. open?: boolean | undefined;
  9. }) => void;
  10. export default _default;