2020-02-20 18:06:50 +01:00
|
|
|
<script>
|
2020-11-18 22:06:12 +01:00
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
2020-11-20 10:50:10 +01:00
|
|
|
const { styleable } = getContext("sdk")
|
|
|
|
const styles = getContext("style")
|
2020-11-18 22:06:12 +01:00
|
|
|
|
2020-02-25 16:21:23 +01:00
|
|
|
export let className = ""
|
|
|
|
export let url = ""
|
|
|
|
export let description = ""
|
|
|
|
export let height
|
|
|
|
export let width
|
2020-02-20 18:06:50 +01:00
|
|
|
</script>
|
|
|
|
|
2020-11-18 22:06:12 +01:00
|
|
|
<img
|
|
|
|
{height}
|
|
|
|
{width}
|
|
|
|
class={className}
|
|
|
|
src={url}
|
|
|
|
alt={description}
|
2020-11-24 10:31:54 +01:00
|
|
|
use:styleable={$styles} />
|