UNPKG

tdesign-react

Version:
14 lines (13 loc) 661 B
import React from 'react'; import type { TdTreeSelectProps } from './type'; import type { StyledProps, TreeOptionData } from '../common'; import { PopupRef } from '../popup'; import { InputRef } from '../input'; export interface TreeSelectProps<DataOption extends TreeOptionData = TreeOptionData> extends TdTreeSelectProps<DataOption>, StyledProps { } export interface NodeOptions { label: string; value: string | number; } declare const TreeSelect: React.ForwardRefExoticComponent<TreeSelectProps<TreeOptionData> & React.RefAttributes<Partial<import("../tree").TreeInstanceFunctions<TreeOptionData> & PopupRef & InputRef>>>; export default TreeSelect;