1
0
Fork 0
mirror of synced 2024-09-13 15:57:37 +12:00
budibase/packages/standard-components/src/Image.svelte
2020-11-18 21:06:12 +00:00

20 lines
347 B
Svelte

<script>
import { getContext } from "svelte"
const { styleable } = getContext("app")
export let className = ""
export let url = ""
export let description = ""
export let height
export let width
export let styles
</script>
<img
{height}
{width}
class={className}
src={url}
alt={description}
use:styleable={styles} />