diff options
Diffstat (limited to 'docs/api.md')
-rw-r--r-- | docs/api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md index 05b722747..2f640b011 100644 --- a/docs/api.md +++ b/docs/api.md @@ -63,7 +63,7 @@ const data = Astro.fetchContent('../pages/post/*.md'); // returns an array of po ### `collection` ```jsx -export let collection; +const { collection } = Astro.props; ``` When using the [Collections API][docs-collections], `collection` is a prop exposed to the page with the following shape: |