
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import React, { FC } from 'react'

interface BoutonProps {
    handleclick?: () => void;
    addClass?: string;
    }
export const BoutonSideBar :FC<BoutonProps>  = ( {handleclick, addClass} ) => {
  return (
    <button
      onClick={handleclick}
      className={`bg-vert_fonce w-full rounded-md text-[12px] inline-flex gap-4 justify-center items-center hover:bg-jaune_vif text-white py-3 px-5 ${addClass}}`}
    >
      <FontAwesomeIcon icon={"file-pen"} className="h-4" />
     {" S'inscrire à la formation"}
    </button>
  );
}