react Collapse
时间: 2023-09-15 14:17:05 浏览: 259
react-collapse:一个基于react的折叠组件
React Collapse是一个基于React的菜单树组件,可以用于实现可折叠的菜单树效果。它的DOM结构通常是通过包裹在Collapse组件中的Panel组件来实现的。在后台系统中,Collapse组件在一些场景中是比较常见且有适用性的。如果你想自己封装一个完整的Collapse组件,首先要思考如何实现给一个高度为auto的DOM的过渡动画。这个动画实现起来可能会有一些难度。<span class="em">1</span><span class="em">2</span><span class="em">3</span><span class="em">4</span>
#### 引用[.reference_title]
- *1* [react-collapse:一个基于react的折叠组件](https://download.csdn.net/download/weixin_42135073/18213674)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* *4* [封装react组件库之Collapse](https://blog.csdn.net/qq_42704945/article/details/132446550)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文