feat: add progress bar to signup flow (#234)

Co-authored-by: deveshanim3 <deveshsingh6986@gmail.com>
Co-committed-by: deveshanim3 <deveshsingh6986@gmail.com>
This commit was merged in pull request #234.
This commit is contained in:
deveshanim3
2026-04-23 15:35:59 +00:00
committed by hodlbod
parent 463837e7d4
commit 32c1501e9c
9 changed files with 76 additions and 33 deletions
+5 -1
View File
@@ -23,9 +23,10 @@
onsubmit: (values: Values) => void
isSignup?: boolean
footer: Snippet
progressBar?: Snippet
}
const {initialValues, isSignup, onsubmit, footer}: Props = $props()
const {initialValues, isSignup, onsubmit, footer, progressBar}: Props = $props()
const values = $state(initialValues)
@@ -103,6 +104,9 @@
</Field>
{/if}
</ModalBody>
{#if progressBar}
{@render progressBar()}
{/if}
<ModalFooter>
{@render footer()}
</ModalFooter>