import styles from './styles.module.css'
import MainButton from "@/components/MainButton";
import { ButtonHTMLAttributes, FC } from "react";
import cn from "classnames";

type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
  color?: "black" | "blue";
};

export const Button: FC<ButtonProps> = ({ children, className, ...props }) => {
  return (
    <MainButton className={cn(className, styles.button)} {...props}>
      {children}
    </MainButton>
  );
};
