import type { PropsWithChildren } from 'preact/compat';
export interface LinkButtonProps {
"class"?: string
id?: string
href: string
external?: boolean
onClick?: (ev: Event) => void
}
export interface FormButtonProps {
"class"?: string
id?: string
type?: HTMLButtonElement["type"]
href?: null
external?: null
name?: string
value?: string
disabled?: boolean
onClick?: (ev: Event) => void
}
export function LinkButton({"class": className, id, href, external, onClick, children}: LinkButtonProps & PropsWithChildren) {
return
{children}
}
export function FormButton({"class": className, id, name, value, disabled, type = "button", onClick, children}: FormButtonProps & PropsWithChildren) {
return
}