PromoCursed/node_modules/rc-select/es/OptionList.d.ts
2024-08-20 23:25:37 +04:00

11 lines
458 B
TypeScript

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;