import { Button } from "react-bootstrap";
import React from "react";
export default function Ibutton({
  title,
  fontSize,
  backgroundColor,
  paddingTop,
  paddingBottom,
  className,
  borderRadius,
  color,
  borderColor,
  icon,
  onClick,
  href,
}) {
  return (
    <>
      <Button
        href={href}
        onClick={onClick}
        className={className}
        style={{
          letterSpacing: "2px",
          fontSize,
          backgroundColor,
          paddingTop,
          paddingBottom,
          paddingLeft: "18px",
          paddingRight: "18px",
          borderColor,
          fontFamily: "Light",
          borderRadius,
          color,
          border: "none",
        }}
      >
        {icon}
        {title}
      </Button>
    </>
  );
}
