Add render support

This commit is contained in:
Jon Staab
2024-09-24 14:12:38 -07:00
parent 148208f072
commit 605273d7c7
19 changed files with 355 additions and 25 deletions
@@ -0,0 +1,14 @@
<script lang="ts">
import {displayUrl} from "@welshman/lib"
import Icon from "@lib/components/Icon.svelte"
import Link from "@lib/components/Link.svelte"
export let value
const url = value.url.toString()
</script>
<Link external href={url} class="link-content">
<Icon icon="link-round" size={3} class="inline-block" />
{displayUrl(url)}
</Link>