a2ui-project / a2ui-project/a2ui
Consider removing the `variant` property on `Text` in favor of just using Markdown
未关闭
P2
sprint ready
type: feature/enhancement
- 主要语言
- TypeScript
- 星标
- 16.4k
- 派生
- 1.3k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 134
描述
Currently, Markdown allows you to specify H1, H2, H3 etc through `# Heading 1` etc, but we also redundantly provide a `variant` parameter for this.
How about we remove this redundancy? It's awkward to implement also. What if we have a `h1` variant Text, with `#### Subtitle` in it? Which level is that heading?
贡献指南
评估
这个 Issue 还没有评估数据。