Skip to content

Commit 0e2ce59

Browse files
committed
Fix the nextLabel config
1 parent ad99572 commit 0e2ce59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/tour/components/TourRoot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const TourRoot = ({ tour }: TourRootProps) => {
8888
bullets: tour.getOption("showBullets"),
8989

9090
buttons: tour.getOption("showButtons"),
91-
nextLabel: "Next",
91+
nextLabel: tour.getOption("nextLabel"),
9292
onNextClick: async (e: any) => {
9393
if (!tour.isLastStep()) {
9494
await nextStep(tour);

0 commit comments

Comments
 (0)