summaryrefslogtreecommitdiff
path: root/examples/blog/src/components/BlogPost.astro
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-09-14 09:14:39 -0400
committerGravatar GitHub <noreply@github.com> 2021-09-14 09:14:39 -0400
commitb6a75494b1c128503de3eba5363b46528142d8b2 (patch)
tree90098b84b352c7e60d8db4b2e18f109b6b7c6482 /examples/blog/src/components/BlogPost.astro
parent72c916535d29fb92ab10efcf62308041ba2858a7 (diff)
downloadastro-b6a75494b1c128503de3eba5363b46528142d8b2.tar.gz
astro-b6a75494b1c128503de3eba5363b46528142d8b2.tar.zst
astro-b6a75494b1c128503de3eba5363b46528142d8b2.zip
Add types to examples and docs (#1347)
* Adds a changeset * Add types to examples and docs * Make changes based on review feedback * Avoid using the variable named props * Make path a const
Diffstat (limited to 'examples/blog/src/components/BlogPost.astro')
-rw-r--r--examples/blog/src/components/BlogPost.astro1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/blog/src/components/BlogPost.astro b/examples/blog/src/components/BlogPost.astro
index 65eed099d..e6a838404 100644
--- a/examples/blog/src/components/BlogPost.astro
+++ b/examples/blog/src/components/BlogPost.astro
@@ -23,6 +23,7 @@ const { title, author, publishDate, heroImage, alt } = Astro.props;
<main>
<slot />
</main>
+ </div>
</article>
</div>