aboutsummaryrefslogtreecommitdiff
path: root/examples/component/packages/my-component/Button.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/component/packages/my-component/Button.astro')
-rw-r--r--examples/component/packages/my-component/Button.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/component/packages/my-component/Button.astro b/examples/component/packages/my-component/Button.astro
index 5f32ce4e8..69b3b5eb5 100644
--- a/examples/component/packages/my-component/Button.astro
+++ b/examples/component/packages/my-component/Button.astro
@@ -7,7 +7,7 @@ const { type, ...props } = {
...Astro.props,
} as Props;
-props.type = type || 'button';
+props.type = type || "button";
---
<button {...props}><slot /></button>