PromoCursed/node_modules/rc-select/es/OptionList.d.ts

11 lines
458 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { ScrollConfig } from 'rc-virtual-list/lib/List';
import * as React from 'react';
export type OptionListProps = Record<string, never>;
export interface RefOptionListProps {
onKeyDown: React.KeyboardEventHandler;
onKeyUp: React.KeyboardEventHandler;
scrollTo?: (args: number | ScrollConfig) => void;
}
declare const RefOptionList: React.ForwardRefExoticComponent<React.RefAttributes<RefOptionListProps>>;
export default RefOptionList;