File size: 510 Bytes
50a7502
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import { IPrimaryButtonProps } from "@/interfaces/PrimaryButtonProps";


export default function PrimaryButton({ children, className, onClick, ariaLabel }: IPrimaryButtonProps) {
    return (
        <button type="button" aria-label={ariaLabel} className={`bg-btn-primary text-white font-medium cursor-pointer bg-main-gradient-hover hover:rounded transition-all duration-300 ease-in-out bg-main-gradient-active active:scale-95 ${className}`} onClick={onClick}>
            {children}
        </button>
    );
}