style(ui): add cursor-pointer class to Button component for better UX

This commit is contained in:
Adam Shiervani 2025-09-02 14:23:06 +02:00
parent 97b7a49fc6
commit 771b1387fe
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ type ButtonPropsType = Pick<
export const Button = React.forwardRef<HTMLButtonElement, ButtonPropsType>(
({ type, disabled, onClick, formNoValidate, loading, fetcher, ...props }, ref) => {
const classes = cx(
"group outline-hidden",
"group outline-hidden cursor-pointer",
props.fullWidth ? "w-full" : "",
loading ? "pointer-events-none" : "",
);