fix: back button (#4513)

This commit is contained in:
Dhruwang Jariwala
2024-12-20 10:15:34 +05:30
committed by GitHub
parent 7605a4d835
commit 2c1f473bbe

View File

@@ -16,7 +16,7 @@ export function BackButton({ onClick, backButtonLabel, tabIndex = 2 }: BackButto
"fb-border-back-button-border fb-text-heading focus:fb-ring-focus fb-rounded-custom fb-flex fb-items-center fb-border fb-px-3 fb-py-3 fb-text-base fb-font-medium fb-leading-4 fb-shadow-sm hover:fb-opacity-90 focus:fb-outline-none focus:fb-ring-2 focus:fb-ring-offset-2"
)}
onClick={onClick}>
{backButtonLabel ?? "Back"}
{backButtonLabel || "Back"}
</button>
);
}