Skip to content

Commit

Permalink
doc: fix Toast doc
Browse files Browse the repository at this point in the history
  • Loading branch information
awmleer committed Jan 11, 2022
1 parent 9e2dcbd commit eae5f6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/toast/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The `show` method supports passing in a `props` object, which contains the follo

| Name | Description | Type | Default |
| --------------- | ------------------------------------------------------------------ | ----------------------------------------------------- | --------------- |
| afterClose | Callback after `Dialog` is completely closed | `() => void` | - |
| afterClose | Callback after `Toast` is completely closed | `() => void` | - |
| maskStyle | `Toast` mask style | `React.CSSProperties` | - |
| maskClassName | `Toast` mask class name | `string` | - |
| maskClickable | Whether allowed to click the background | `boolean` | `true` |
Expand Down
2 changes: 1 addition & 1 deletion src/components/toast/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

| 属性 | 说明 | 类型 | 默认值 |
| --------------- | ------------------------------------- | ----------------------------------------------------- | --------------- |
| afterClose | `Dialog` 完全关闭后的回调 | `() => void` | - |
| afterClose | `Toast` 完全关闭后的回调 | `() => void` | - |
| maskStyle | `Toast` 遮罩样式 | `React.CSSProperties` | - |
| maskClassName | `Toast` 遮罩类名 | `string` | - |
| maskClickable | 是否允许背景点击 | `boolean` | `true` |
Expand Down

0 comments on commit eae5f6b

Please sign in to comment.