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

Show whitespace in default prop #196

Closed
sapegin opened this issue Oct 12, 2016 · 2 comments
Closed

Show whitespace in default prop #196

sapegin opened this issue Oct 12, 2016 · 2 comments
Milestone

Comments

@sapegin
Copy link
Member

sapegin commented Oct 12, 2016

Now if prop’s default value contains only whitespace it renders invisible. I’m not sure about the best solution but at least we can quote whitespace-only values or render spaces as something like .

image 2016-10-12 at 10 31 09 am

@aaronjensen
Copy link
Member

How about quoting always? JSON.stringify essentially.

@sapegin
Copy link
Member Author

sapegin commented Oct 12, 2016

Would look too noisy in my opinion. But at least quotes should be grayish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants