import { JSX } from 'preact'

export function Button(
	{ variant, ...props }:
		& { variant: 'primary' | 'secondary' | 'tertiary' }
		& JSX.ButtonHTMLAttributes<HTMLButtonElement>,
) {
	return <button class={`button button-${variant}`} {...props}></button>
}
