diff options
Diffstat (limited to 'docs/styling.md')
-rw-r--r-- | docs/styling.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/styling.md b/docs/styling.md index 6c4f10d44..b1438ad22 100644 --- a/docs/styling.md +++ b/docs/styling.md @@ -209,7 +209,7 @@ Instead, let `<Button>` control its own styles, and try a prop: ```jsx --- // src/components/Button.astro -export let theme; +const { theme } = Astro.props; --- <style lang="scss"> .btn { |