import Link from 'next/link'
import React from 'react'

export default function BlackBtn({ title, className, onclick, icon ,style}) {
    return (
        <button style={style} onClick={onclick} className={`flex  items-center  gap-2 justify-center btn-main bg-main text-white py-2 px-7 rounded-sm max-md:m-auto 2xl:ms-auto ${className}`}>
            {icon}
            {title}
        </button>
        // <button style={style} onClick={onclick} className={`flex  items-center  gap-2 justify-center btn-main bg-[#394448] text-white py-2 px-7 rounded-sm max-md:m-auto 2xl:ms-auto ${className}`}>
        //     {icon}
        //     {title}
        // </button>
    )
}
