2020-02-21 06:06:50 +13:00
|
|
|
<script>
|
2020-11-19 10:06:12 +13:00
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
2020-11-20 22:50:10 +13:00
|
|
|
const { styleable } = getContext("sdk")
|
2020-11-25 00:02:10 +13:00
|
|
|
const component = getContext("component")
|
2020-11-19 10:06:12 +13:00
|
|
|
|
2020-02-26 04:21:23 +13:00
|
|
|
export let className = ""
|
|
|
|
export let url = ""
|
|
|
|
export let description = ""
|
|
|
|
export let height
|
|
|
|
export let width
|
2020-02-21 06:06:50 +13:00
|
|
|
</script>
|
|
|
|
|
2020-11-19 10:06:12 +13:00
|
|
|
<img
|
|
|
|
{height}
|
|
|
|
{width}
|
|
|
|
class={className}
|
|
|
|
src={url}
|
|
|
|
alt={description}
|
2021-05-04 22:04:42 +12:00
|
|
|
use:styleable={$component.styles}
|
|
|
|
/>
|