📄 Adds docs for image widget dimensions

This commit is contained in:
Alicia Sykes 2022-12-10 18:37:18 +00:00
parent bb8419f077
commit 94ce53f80b
1 changed files with 2 additions and 0 deletions

View File

@ -254,6 +254,8 @@ Or what about showing a photo of the day? Try `https://source.unsplash.com/rando
**Field** | **Type** | **Required** | **Description** **Field** | **Type** | **Required** | **Description**
--- | --- | --- | --- --- | --- | --- | ---
**`imagePath`** | `string` | Required | The path (local or remote) of the image to display **`imagePath`** | `string` | Required | The path (local or remote) of the image to display
**`imageWidth`** | `string` | _Optional_ | Specify a fixed width for rendered image. Accepts either integer value in `px`, or any string value with units (e.g. `420`, `100px`, `6.9rem`) (defaults to `auto`)
**`imageHeight`** | `string` | _Optional_ | Specify a fixed height for rendered image. Accepts either integer value in `px`, or any string value with units (e.g. `420`, `100px`, `6.9rem`) (defaults to `auto`)
#### Example #### Example