locale props with component isn't being render in 2.9.2 ? #1107
|
I have a tour, using: <Joyride
run={run}
steps={steps}
callback={callback}
locale={{
skip: <CustomSkipButton />
}}Where function CustomSkipButton() {
return (
<StyledCustomSkipButton>
Click here to end tutorial
</StyledCustomSkipButton>
);
}Migrating to the latest version (2.9.2), the CustomSkipButton isn't being rendered anymore. Only If I use plain text , the skip button is being display, e.g.: <Joyride
run={run}
steps={steps}
callback={callback}
locale={{
skip: "Skip Button"
}}Did the API changed ? I still see ReactNode as the type input ? Or is this a bug ? |
Answered by
gilbarbara
Nov 18, 2024
Replies: 3 comments 4 replies
|
Hey @LatentDream Nope, it's still working. |
0 replies
|
Hey @gilbarbara, thanks for taking a look that quickly. Must be a something in our code base, I'll investigate further later today on why the switch to Thanks |
3 replies
Answer selected by
gilbarbara
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Released as 2.9.3
Thanks