26 lines
409 B
Markdown
26 lines
409 B
Markdown
`ImageAsset` (component)
|
|
========================
|
|
|
|
A component that loads an image, allowing images to be loaded relative to the main asset/plugin folder.
|
|
Props are passed through to `<img />`
|
|
|
|
Props
|
|
-----
|
|
|
|
### `src`
|
|
|
|
- **Required**
|
|
- Type: String
|
|
- Default: null
|
|
|
|
Image location to pass through to `<img />`.
|
|
|
|
### `alt`
|
|
|
|
- **Required**
|
|
- Type: String
|
|
- Default: null
|
|
|
|
Alt text to pass through to `<img />`.
|
|
|