Spaces:
Sleeping
Sleeping
Download client/src/components/ui/PrimaryButton.tsx from Leoj030/express_backend: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/spaces/Leoj030/express_backend/resolve/main/client/src/components/ui/PrimaryButton.tsx
- Command line
-
hf download hf://spaces/Leoj030/express_backend/client/src/components/ui/PrimaryButton.tsx
-
curl -L -o PrimaryButton.tsx https://huggingface.co/spaces/Leoj030/express_backend/resolve/main/client/src/components/ui/PrimaryButton.tsx
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> | |
| ); | |
| } |