iannbing / react-simple-tree-menu

A simple React tree menu component
MIT License
135 stars 48 forks source link

how to get initialActiveKeys? #164

Open gezhe-wu opened 4 years ago

gezhe-wu commented 4 years ago

I have some question. initialActiveKey='first-level-node-1/second-level-node-1/..... ' I can't know nodes deep. So it's too difficult to get initalActiveKey. Is there any other easy way?