Tree selection of ant design components with search function

How to implement this search function in the

component?

Nov.24,2021

in TreeSelect , the showSearch attribute is used to control the display of the search box

.

if you mean implemented alone, use Input to do

.

search box

Menu