Skip to content

Commit 7acb142

Browse files
committed
chore: add doc
1 parent 07afca8 commit 7acb142

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

infrastructure/eid-wallet/src/lib/fragments/AppNav/AppNav.svelte

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,16 @@ const baseClasses = "w-full relative flex justify-center h-14 items-center";
2222
<h4 class={cn(titleClasses)}>
2323
{title}
2424
</h4>
25-
</nav>
25+
</nav>
26+
27+
<!--
28+
@component
29+
@name AppNav
30+
@description A component that displays the title of the current page and a back button.
31+
@props
32+
- title: string - The main title to display.
33+
- titleClasses: string - Additional classes to apply to the title element.
34+
@usage
35+
```svelte
36+
<AppNav title="My Title" />
37+
-->

0 commit comments

Comments
 (0)