Skip to content

Commit

Permalink
Bold props interface words (withastro#1123)
Browse files Browse the repository at this point in the history
* Bold props interface words

* Turn it into blockquote
  • Loading branch information
MarcusOtter committed Aug 16, 2021
1 parent 9cc3c52 commit 47025a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/pages/core-concepts/astro-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand Down

0 comments on commit 47025a7

Please sign in to comment.