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.astro13
1 files changed, 0 insertions, 13 deletions
diff --git a/examples/component/packages/my-component/Button.astro b/examples/component/packages/my-component/Button.astro
deleted file mode 100644
index 87943fa28..000000000
--- a/examples/component/packages/my-component/Button.astro
+++ /dev/null
@@ -1,13 +0,0 @@
----
-export interface Props extends Record<any, any> {
- type?: string;
-}
-
-const { type, ...props } = {
- ...Astro.props,
-};
-
-props.type = type || 'button';
----
-
-<button {...props}><slot /></button>