Image
Type
(props: Props) => result: RenderFunc
Props: object
Name | Description | Required | Type | Default |
---|---|---|---|---|
style | Style property, support for CSS attributes | NO | object | - |
src | Image URL or base64 string | YES | string | - |
alt | Alternative text when the image cannot be displayed | NO | string | - |
width | The width of the component | NO | string or number | - |
height | The height of the component | NO | string or number | - |