bonree-cascader
Version:
cascade select ui component for react
12 lines (11 loc) • 575 B
TypeScript
import * as React from 'react';
import type { OptionListProps as SelectOptionListProps, RefOptionListProps } from 'bonree-select/lib/OptionList';
import type { OptionDataNode } from '../interface';
declare type OptionListProps = SelectOptionListProps<OptionDataNode[]> & {
prefixCls: string;
};
export declare type FlattenOptions = OptionListProps['flattenOptions'];
declare const RefOptionList: React.ForwardRefExoticComponent<SelectOptionListProps<OptionDataNode[]> & {
prefixCls: string;
} & React.RefAttributes<RefOptionListProps>>;
export default RefOptionList;