aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/src/components/Footer/Footer.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs/src/components/Footer/Footer.astro')
-rw-r--r--examples/docs/src/components/Footer/Footer.astro9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/docs/src/components/Footer/Footer.astro b/examples/docs/src/components/Footer/Footer.astro
index d13f832e5..1ec756b86 100644
--- a/examples/docs/src/components/Footer/Footer.astro
+++ b/examples/docs/src/components/Footer/Footer.astro
@@ -1,16 +1,19 @@
---
import AvatarList from './AvatarList.astro';
-const { path } = Astro.props;
+type Props = {
+ path: string;
+};
+const { path } = Astro.props as Props;
---
<footer>
- <AvatarList {path} />
+ <AvatarList path={path} />
</footer>
<style>
footer {
margin-top: auto;
- padding: 2rem 0;
+ padding: 2rem;
border-top: 3px solid var(--theme-divider);
}
</style>