Skip to content

Commit

Permalink
docs: ✏️ 更正text组件doc的type属性默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
wyl086 committed Aug 24, 2024
1 parent febe730 commit 14502a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/component/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

## 设置主题

通过<code>type</code>参数设置文本主题,我们提供了五类属性:<code>primary</code> <code>error</code> <code>success</code> <code>warning</code> <code>info-默认</code>。
通过<code>type</code>参数设置文本主题,我们提供了五类属性:<code>primary</code> <code>error</code> <code>success</code> <code>warning</code> <code>default-默认</code>。

```html
<wd-text type="primary" text="主色"></wd-text>
Expand Down

0 comments on commit 14502a9

Please sign in to comment.