react-component / collapse

React Collapse / Accordion
http://react-component.github.io/collapse/
MIT License
324 stars 134 forks source link

feat: add wrappedComponentRef props for get panel dom ref #139

Open AshoneA opened 4 years ago

AshoneA commented 4 years ago

我现在有个需求是能够让panel自由的拖动排序,使用react-dnd中需要preview需要拿到panel ref, 所以加了个wrappedComponentRef 的属性来或许panel ref,如果加这个属性OK的话我之后给antd那边提个pr把属性给补充上

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-1.0%) to 96.907% when pulling b73c5ed9ec5d4a0b38a71c324be2d41d570120a4 on AshoneA:feature/wrappedComponentRef into 22ad1270b5b1e24a675a38819bc7e041fa817cfc on react-component:master.