Skip to content

Commit 9d8ca68

Browse files
committed
Update README.md
1 parent da989ae commit 9d8ca68

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

components/Toast/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
Switch 开关
1+
Toast 轻提示
22
---
33

44
一种轻量级反馈/提示,可以用来显示不会打断用户操作的内容,适合用于页面转场、数据交互的等场景中。
55

6-
7-
86
## 基础示例
97

108
```jsx
@@ -30,4 +28,4 @@ function Demo() {
3028
|------|------|-----|------|
3129
| `content` | 提示内容 | string | - |
3230
| `duration` | 提示持续时间 | number | 2s |
33-
| `icon` | 自定义提示`icon` | string | `info` |
31+
| `icon` | 自定义提示`icon` | string | `info` |

0 commit comments

Comments
 (0)