Signed-off-by: Florian Bouillon <f.bouillon@aptatio.com>
This commit is contained in:
@ -1,13 +1,15 @@
|
||||
---
|
||||
import { objectOmit } from '@dzeio/object-util'
|
||||
|
||||
interface Props extends Omit<astroHTML.JSX.ButtonHTMLAttributes | astroHTML.JSX.AnchorHTMLAttributes, 'type'> {
|
||||
type?: 'outline' | 'ghost'
|
||||
export interface Props extends astroHTML.JSX.AnchorHTMLAttributes {
|
||||
outline?: boolean
|
||||
ghost?: boolean
|
||||
}
|
||||
|
||||
const classes = [
|
||||
"button",
|
||||
Astro.props.type,
|
||||
{outline: Astro.props.outline},
|
||||
{ghost: Astro.props.ghost},
|
||||
Astro.props.class
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user