react-component / collapse

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

fix: Collapse not working using custom component as panel #236

Closed afc163 closed 2 years ago

afc163 commented 2 years ago

close https://github.com/ant-design/ant-design/issues/36327 close https://github.com/ant-design/ant-design/issues/6179 close https://github.com/react-component/collapse/issues/73#issuecomment-323626120

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
collapse ✅ Ready (Inspect) Visit Preview Jul 1, 2022 at 2:54AM (UTC)
codecov[bot] commented 2 years ago

Codecov Report

Merging #236 (67f59f6) into master (b60be7c) will increase coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #236      +/-   ##
==========================================
+ Coverage   98.29%   98.33%   +0.04%     
==========================================
  Files           4        4              
  Lines         117      120       +3     
  Branches       35       36       +1     
==========================================
+ Hits          115      118       +3     
  Misses          2        2              
Impacted Files Coverage Δ
src/Collapse.tsx 100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more