We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
elems
Because there is no way to extract translation strings from React, I'm using Localized components without children. For example:
Localized
<h1><Localized id="verify-email-page-title" /></h1>
This gets replaced by the translation just fine. However, if I want to use elems I suddenly need to have an empty element inside:
<p> <Localized id="verify-email-success" elems={{ loginLink: <Link to="/login"></Link> }} > <span></span> </Localized> </p>
It would be great to be able to rely on elems as a signal that I want to use overlays regardless of whether the content inside looks like HTML.
The text was updated successfully, but these errors were encountered:
It's possible there's a situation where I would want elems but not want to use an overlay, though that seems unlikely?
Sorry, something went wrong.
No branches or pull requests
Because there is no way to extract translation strings from React, I'm using
Localized
components without children. For example:This gets replaced by the translation just fine. However, if I want to use elems I suddenly need to have an empty element inside:
It would be great to be able to rely on
elems
as a signal that I want to use overlays regardless of whether the content inside looks like HTML.The text was updated successfully, but these errors were encountered: