diff options
Diffstat (limited to 'docs/syntax.md')
-rw-r--r-- | docs/syntax.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/syntax.md b/docs/syntax.md index 8476a2823..1a89e8901 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -99,6 +99,7 @@ const { greeting = 'Hello', name } = Astro.props; ``` To define the props which your component accepts, you may export a TypeScript interface or type named `Props`. + ```tsx --- export interface Props { |