Ant design tree control, how to add icons to nodes for trees generated by asynchronously loading data components

clipboard.png
api
clipboard.png

Dec.09,2021

I was just in the same situation as you. I took a closer look at API, and found that I didn't write this. Just add it!


did you not introduce Icon ?

import { Tree, Icon } from 'antd'
Menu