UNPKG

458 BTypeScriptView Raw
1import type { ScrollConfig } from 'rc-virtual-list/lib/List';
2import * as React from 'react';
3export type OptionListProps = Record<string, never>;
4export interface RefOptionListProps {
5 onKeyDown: React.KeyboardEventHandler;
6 onKeyUp: React.KeyboardEventHandler;
7 scrollTo?: (args: number | ScrollConfig) => void;
8}
9declare const RefOptionList: React.ForwardRefExoticComponent<React.RefAttributes<RefOptionListProps>>;
10export default RefOptionList;