Browse Source
docs: update Image API (#27071)
* Update index.en-US.md
* Update index.zh-CN.md
pull/27073/head
偏右
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
6 deletions
-
components/image/index.en-US.md
-
components/image/index.zh-CN.md
|
|
@ -27,10 +27,10 @@ Previewable image. |
|
|
|
|
|
|
|
### previewType |
|
|
|
|
|
|
|
``` |
|
|
|
```js |
|
|
|
{ |
|
|
|
visible: boolean, |
|
|
|
onVisibleChange:function(value, prevValue) |
|
|
|
visible?: boolean; |
|
|
|
onVisibleChange?: (visible, prevVisible) => void; |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
@ -28,10 +28,10 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/D1dXz9PZqa/image.svg |
|
|
|
|
|
|
|
### previewType |
|
|
|
|
|
|
|
``` |
|
|
|
```js |
|
|
|
{ |
|
|
|
visible: boolean, |
|
|
|
onVisibleChange:function(value, prevValue) |
|
|
|
visible?: boolean; |
|
|
|
onVisibleChange?: (visible, prevVisible) => void; |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|