Skip to content

Commit b278cfb

Browse files
authored
Merge pull request #2113 from usablica/fix-next-label
Fix the nextLabel config
2 parents ad99572 + 0e2ce59 commit b278cfb

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)