idux
idux copied to clipboard
[RFC] 是否需要一个交互式的组件文档
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
- 帮助开发人员组织和记录组件文档
- 展示组件涵盖的不同用例
- 独立开发组件
- 通过截图测试视觉回归
基本上给你:
- 故事的交互式预览(甚至是所有变体的网格!)
- 可复制代码以在您自己的代码中重现相同的结果
- 与预览交互的控件
- 从 Markdown 呈现的文档
- 许多其他功能!
What does the proposed API look like?
文档演示:here