Files
windmill/frontend/src/lib/components/Description.svelte
T
Henri CourdentandGuilhem bf4d903083 Trigger panels texts + doclinks (#4796)
* Trigger panels texts + doclinks

* create description component

* Description module workspace settings

* Delete package-lock.json

---------

Co-authored-by: Guilhem <guilhemlemouel@gmail.com>
2024-12-04 14:07:29 +01:00

11 lines
211 B
Svelte

<script lang="ts">
export let link: string | undefined = undefined
</script>
<div class="text-xs text-tertiary font-normal">
<slot />
{#if link}
<a href={link} target="_blank">Learn more</a>
{/if}
</div>