2020-02-20 18:06:50 +01:00
|
|
|
<script>
|
2020-11-18 22:06:12 +01:00
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
|
|
|
const { styleable } = getContext("app")
|
|
|
|
|
2020-02-25 16:21:23 +01:00
|
|
|
export let className = ""
|
|
|
|
export let url = ""
|
|
|
|
export let description = ""
|
|
|
|
export let height
|
|
|
|
export let width
|
2020-11-18 22:06:12 +01:00
|
|
|
export let styles
|
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}
|
|
|
|
use:styleable={styles} />
|