图片
插入图片

的格式来插入图片。
指定图片尺寸
img
标签中的 height
、和 width
,来指定图片的尺寸大小。<img height={150} width={250} src="https://api.apifox.com/api/v1/projects/4444182/resources/439706/image-preview" />
参数说明
Img
src
string
图像文件的位置
title
string
可选
height
number
可选
width
number
可选
图片边框
Frame
将图像或其他组件包装在容器中。具体见图片边框。This photograph was captured by André Cook
<Frame caption="This photograph was captured by André Cook">

</Frame>
修改于 2024-06-27 07:06:42