Image
Container properties
All component configurations support Container properties at the first level.
Component Properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | component's className | |
| style | object | component style | ||
| width | number | string | picture width | ||
| height | number | string | image height | ||
| src | string | ✔️ | Image address | |
| alt | string | pictures of alt |
All the remaining componentsProps will be passed to the component root element (img).
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | The root DOM element of the component |