From 62c9fbb63ba6c4aa2baa62e57fe1eec70d941d3c Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 19 Oct 2024 14:42:55 -0400 Subject: [PATCH] props --- .../docs/01-introduction/03-svelte-files.md | 4 +- documentation/docs/02-runes/02-$state.md | 2 +- documentation/docs/02-runes/04-$effect.md | 4 +- documentation/docs/02-runes/05-$props.md | 91 ++++++++++++++++++- 4 files changed, 95 insertions(+), 6 deletions(-) diff --git a/documentation/docs/01-introduction/03-svelte-files.md b/documentation/docs/01-introduction/03-svelte-files.md index d68bb89126..f534e30fcb 100644 --- a/documentation/docs/01-introduction/03-svelte-files.md +++ b/documentation/docs/01-introduction/03-svelte-files.md @@ -37,8 +37,6 @@ In addition to normal JavaScript, you can use _runes_ to declare [component prop A ` ``` +You can `export` bindings from this block, and they will become exports of the compiled module. You cannot `export default`, since the default export is the component itself. + ## `