shineout
Version:
Shein 前端组件库
14 lines (13 loc) • 458 B
TypeScript
import { Component } from 'react';
import { OptionTreeProps } from './Props';
declare class OptionList<Item, Value> extends Component<OptionTreeProps<Item, Value>> {
constructor(props: OptionTreeProps<Item, Value>);
getText(key: 'noData'): any;
handleClick(data: Item, _: any, p: {
path: string;
}): void;
renderItem(data: Item): JSX.Element;
renderTree(): JSX.Element;
render(): JSX.Element;
}
export default OptionList;