import React from "react";

export const Button = ({ as: Comp = "button", className = "", ...props }) => (
  <Comp
    className={`px-4 py-2 rounded-md font-medium border hover:opacity-90 transition ${className}`}
    {...props}
  />
);