summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marcus Otterström <35617441+MarcusOtter@users.noreply.github.com> 2021-08-16 22:19:18 +0200
committerGravatar GitHub <noreply@github.com> 2021-08-16 13:19:18 -0700
commit47025a7c7d22870cdaaec9aefb38d79524ba339e (patch)
tree686969ee6af01d655c0f4faf17aec3a99ef8a776
parent9cc3c5236d3a3b4a5a479ed2da5c1dfdf4dd8f88 (diff)
downloadastro-47025a7c7d22870cdaaec9aefb38d79524ba339e.tar.gz
astro-47025a7c7d22870cdaaec9aefb38d79524ba339e.tar.zst
astro-47025a7c7d22870cdaaec9aefb38d79524ba339e.zip
Bold props interface words (#1123)
* Bold props interface words * Turn it into blockquote
-rw-r--r--docs/src/pages/core-concepts/astro-components.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/pages/core-concepts/astro-components.md b/docs/src/pages/core-concepts/astro-components.md
index 85d1fbccc..bbf4ec9c0 100644
--- a/docs/src/pages/core-concepts/astro-components.md
+++ b/docs/src/pages/core-concepts/astro-components.md
@@ -166,7 +166,9 @@ const { greeting = 'Hello', name } = Astro.props;
</div>
```
-You can define your props with TypeScript by exporting a `Props` type interface. In the future, Astro will automatically pick up any exported `Props` interface and give type warnings/errors for your project.
+You can define your props with TypeScript by exporting a `Props` type interface.
+
+> _**In the future**_, Astro will automatically pick up any exported `Props` interface and give type warnings/errors for your project.
```astro
---