diff options
| author | Adam Soltys <[email protected]> | 2024-11-07 21:16:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-08 09:27:40 -0800 |
| commit | 2b0f8339666dfa99e4db8a12b5effffaec9776f0 (patch) | |
| tree | 0253780c569998b6c1a5f43026586e94916c3fee /src/components/FaqCard.svelte | |
| parent | e3d1a7817f70237d70c1ca5a790bab7eac2ff86c (diff) | |
| download | coinos-ui-2b0f8339666dfa99e4db8a12b5effffaec9776f0.tar.gz coinos-ui-2b0f8339666dfa99e4db8a12b5effffaec9776f0.zip | |
svelte 5
Diffstat (limited to 'src/components/FaqCard.svelte')
| -rw-r--r-- | src/components/FaqCard.svelte | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/components/FaqCard.svelte b/src/components/FaqCard.svelte index ae1ad077..a2d13bc8 100644 --- a/src/components/FaqCard.svelte +++ b/src/components/FaqCard.svelte @@ -1,10 +1,15 @@ -<script> +<script lang="ts"> import { t } from "$lib/translations"; // this ID will be used to get the strings from the locale // question is at faq.[questionID].question - // answer is at faq.[questionID].answer - export let questionID; + + interface Props { + // answer is at faq.[questionID].answer + questionID: any; + } + + let { questionID }: Props = $props(); </script> <div class="mx-auto w-full md:w-2/3 lg:w-[700px] space-y-5"> |
