mapcomplete/UI/InputElement/Helpers/ImageHelper.svelte

10 lines
217 B
Svelte

<script lang="ts">
import {UIEventSource} from "../../../Logic/UIEventSource";
/**
* Simply shows the image
*/
export let value: UIEventSource<undefined | string>
</script>
<img src={$value}/>