4 留言 (4 留言)0 反應 (0 反應)0 負責人 (0 負責人)TypeScript98,031 star (98,031 star)54,612 fork (54,612 fork)batch import
Inactivehelp wanted⌨️ Accessibility
- 議題類型
- refactor
- 研究方向
- Review the existing Collapse component in ant design (likely in components/collapse). Understand its props, rendering logic, and any custom behaviors like accordion mode. Then study the HTML `<details>` and `<summary>` elements via MDN documentation. Check if there are any browser compatibility concerns or accessibility requirements. Look at existing discussions in the issue comments for any constraints or preferences from maintainers. Implement the refactor by replacing the Collapse component's internals with `<details>` while preserving the existing API. Ensure to update tests and possibly add a demo for edge cases.