Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass translated hint texts for MagnifyHint #231

Open
ScyDev opened this issue May 6, 2022 · 0 comments
Open

How to pass translated hint texts for MagnifyHint #231

ScyDev opened this issue May 6, 2022 · 0 comments

Comments

@ScyDev
Copy link

ScyDev commented May 6, 2022

As advised by Howie, I'm posting this question here. It's neither a bug report nor a feature request.

I'm trying to pass translated hint texts for "Hover to Zoom", "Click to Expand" and "Tap to Expand" through MediaCarousel to MagnifyHint, but I don't know if I'm doing it right or if it is even possible. Please help.

<MediaCarousel
className={classes.carousel}
lightboxClassName={classes.lightboxCarousel}
thumbnail={thumbnail.current}
height="100%"
media={color.media || (product && product.media)}
magnifyProps={{zoomTextDesktop: "Mit der Maus zoomen"}}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant