✨ navigation between questions okaydokay
Co-authored-by: haraldnilsen <harald_998@hotmail.com> Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
77ad823803
commit
5d829273da
6 changed files with 56 additions and 39 deletions
|
|
@ -2,12 +2,13 @@
|
|||
import UserFormInput from "../../userform/UserFormInput.svelte";
|
||||
|
||||
export let answerText:string
|
||||
export let answerNum:number
|
||||
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col">
|
||||
<div class="flex flex-col gap-2 mb-6">
|
||||
<h1 class="text-xl text-primary font-bold text-center">Svar 2:</h1>
|
||||
<h1 class="text-xl text-primary font-bold text-center">Svar {answerNum}:</h1>
|
||||
<div class="bg-secondary p-6 rounded-xl text-sm">
|
||||
{answerText}
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue