summaryrefslogtreecommitdiff
path: root/examples/blog/src/components/Nav.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/src/components/Nav.astro')
-rw-r--r--examples/blog/src/components/Nav.astro7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/blog/src/components/Nav.astro b/examples/blog/src/components/Nav.astro
index 5c435b737..a7ef0985f 100644
--- a/examples/blog/src/components/Nav.astro
+++ b/examples/blog/src/components/Nav.astro
@@ -1,5 +1,8 @@
---
-export let title;
+export interface Props {
+ title: string;
+}
+const { title } = Astro.props;
---
<style lang="scss">
@@ -57,4 +60,4 @@ a {
<li><a href="/author/sancho">Author: Sancho</a></li>
<li><a href="/about">About</a></li>
</ul>
-</nav> \ No newline at end of file
+</nav>
test.js?h=@astrojs/vercel@3.8.0&id=2f06923764ff61b758604776e288c8ed5f1cebea&follow=1'>[ci] formatGravatar natemoo-re 1-1/+1 2023-08-01feat: add cache headers to assets in Vercel adapter (#7729)Gravatar Hee 10-3/+144 2023-08-01Fix "res.writeHead is not a function" in Express/node middleware (#7708)Gravatar DixCouleur 3-8/+34 2023-08-01Fix: Content Collections - Ignore `.json` files nested in non-underscored sub...Gravatar Tony Dang 3-1/+6 2023-08-01chore: address feedback from #7754 (#7906)Gravatar Nate Moore 1-2/+4 2023-08-01[ci] release (#7877)astro@2.9.7@astrojs/vercel@3.7.5@astrojs/node@5.3.1@astrojs/netlify@2.5.2Gravatar Houston (Bot) 52-129/+128 2023-08-01feat: add logging for when hydrate's JSON parse fails (#7887)Gravatar Sam Hulick 2-3/+28 2023-08-01Fix prefetch test fail (#7902)Gravatar Bjorn Lu 1-0/+2 2023-08-01[ci] formatGravatar bluwy 4-13/+28