Skip to content

Commit

Permalink
docs: fix image props
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin authored Aug 23, 2023
1 parent e2b7f6e commit abff670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zarm/src/image/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ ReactDOM.render(
| alt | boolean | - | 图片描述 |
| lazy | boolean | false | 是否懒加载 |
| shape | 'rect' \| 'radius' \| 'round' \| 'circle' | 'rect' | 图片形状 |
| fill | 'contain' \| 'cover' \| 'fill' \| 'none' \| 'scale-down' | 'fill' | 图片填充模式 |
| fit | 'contain' \| 'cover' \| 'fill' \| 'none' \| 'scale-down' | 'fill' | 图片填充模式 |
| preview | boolean | false | 是否支持图片预览 |
| onLoad | (event: React.SyntheticEvent<HTMLImageElement>) => void | - | 加载时触发的回调函数 |
| onError | (event: React.SyntheticEvent<HTMLImageElement>) => void | - | 加载出错时触发的回调函数 |
Expand Down

1 comment on commit abff670

@vercel
Copy link

@vercel vercel bot commented on abff670 Aug 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

zarm – ./

zarm-git-master-zhongantech.vercel.app
zarm-zhongantech.vercel.app

Please sign in to comment.