-
Notifications
You must be signed in to change notification settings - Fork 77
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
Allow use of elems
without children
#550
Labels
Comments
It's possible there's a situation where I would want |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: