diff --git a/@dasig/components/Button.astro b/@dasig/components/Button.astro
index f76c940..045ca8b 100644
--- a/@dasig/components/Button.astro
+++ b/@dasig/components/Button.astro
@@ -1,11 +1,9 @@
---
interface Props {
label?: string
- to?: string
- onClick?: () => void
+ to: string
edges?: 'curved' | 'rounded' | 'flat'
design?: 'bu-primary' | 'bu-link' | 'bu-info' | 'bu-success' | 'bu-warning' | 'bu-danger' | 'bu-dark' | 'bu-light' | 'bu-text' | 'bu-ghost' | 'bo-primary' | 'bo-secondary' | 'bo-success' | 'bo-danger' | 'bo-warning' | 'bo-info' | 'bo-light' | 'bo-dark' | 'bo-link'
- submit?: boolean
newtab?: boolean
}
@@ -22,50 +20,23 @@ const getBorderRadius = (edge: Props['edges']) => {
}
}
-const { label, to, edges, design, submit, newtab } = Astro.props
+const { label, to, edges, design, newtab } = Astro.props
const borderRadius = getBorderRadius(edges)
---
-
-
{
- to ? (
- design ? (
-
-
-
- ) : (
-
-
-
- )
- ) : design ? (
- submit ? (
-