Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 31, 2021
1 parent da989ae commit 9d8ca68
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions components/Toast/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
Switch 开关
Toast 轻提示
---

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



## 基础示例

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

0 comments on commit 9d8ca68

Please sign in to comment.