on 0eeff2c help sign in
astrolabe/ui/src/components/ValidationProblems.svelte
23 lines 523 B history raw
1<script lang="ts">
2 import DocLink from './docs/DocLink.svelte';
4 export let problems: Array<string> = [];
5 export let type: string = undefined;
6</script>
8<div class="p-4 max-w-md rounded-lg bg-white w-full">
9 {#if type}<b class="w-full text-center">{type}</b>{/if}
10 <p>
11 Sorry, the ID you entered is invalid:
12 </p>
13 {#each problems as problem}
14 <p>
15 {problem}
16 </p>
17 {/each}
18 <p>
19 <!-- TODO: add link to doc -->
20 You can <DocLink modal path="patpee">read more here.</DocLink>
21 </p>
22</div>