express_backend / client /src /components /ui /PrimaryButton.tsx
Joel Refuerzo
Initial commit: add client and server
50a7502
Raw History Blame Contribute Delete
510 Bytes
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>
);
}