import { ButtonHTMLAttributes } from "preact";

export function Button(props: ButtonHTMLAttributes<HTMLButtonElement>) {
  return (
    <button
      {...props}
      class={`cursor-pointer px-2 py-1 ${props.class ? props.class : ""}`}
    />
  );
}
