-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add ability to use value prop and fall back to children #53
base: master
Are you sure you want to change the base?
Conversation
@rxaviers a review would be great. Also, I wanted to add the ability to use |
Excellent, reviewing it is in my TODO list now. About the empty message, technically it's an easy change, but I'm wondering why would you want to internationalize an empty string? Would it be different in other locales? |
Definitely not different in other locales but because of the way react-globalize works, there's no way to say "don't try to internationalize this component until you have a To further illustrate, perhaps my app has an "Info Bar" that displays internationalized messages based on user interaction. It would be nice on initial load for the "Info Bar" component to maybe look something like
or something like that but that throws |
Kris, just reviewed it. The option to use either a |
About the empty message, I would defer this until there's a compelling use case. I believe one can simply leave it as |
AFAICT, you can use |
Thanks @necolas, I will try to look into this tonight. It's been quite a while since I've touched this project and there are likely many conflicts to resolve but I will take a stab at it. |
Fixes #34