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

Hide Certain Prop Variant #68

Closed
andrefox333 opened this issue Sep 29, 2016 · 5 comments
Closed

Hide Certain Prop Variant #68

andrefox333 opened this issue Sep 29, 2016 · 5 comments

Comments

@andrefox333
Copy link

First of, awesome framework! We have chosen Bluekit to showcase our React components to all the developers that will be working on our app. Is there a way to hide certain prop variant from the UI? Let's say I have a propType htmlFor which either contains a string or not, and I would like to hide that from UI.

Thanks in advance :)

@12people
Copy link

@andrerecinto Thanks for the feedback! Could you explain why you'd like it hidden?

As the UX designer behind the project, I'd like to understand how people use it, so if you could find the time, I'd love to have a chat.

@andrefox333
Copy link
Author

andrefox333 commented Sep 30, 2016

No problem! We have certain props that doesn't offer any visual representation change to the end user and we feel seeing a variant for it is unnecessary. Because whatever value you put in the prop, doesn't change the look and feel. So when you see the variant section for that specific prop it looks identical and can clutter up the preview screen when you have a lot of these variant prop views with the same output.

I have a screen shot below that demonstrates that you don't see anything different with whatever value you put in the prop. I hope that make sense! :) Thanks again.

screen shot 2016-09-30 at 9 56 38 am

@imtoo
Copy link
Contributor

imtoo commented Oct 1, 2016

That's a good point! We'll try to solve it in upcoming release next week. Thanks for your idea!

@andrefox333
Copy link
Author

Thanks so much :)

@ondrejbartas
Copy link
Contributor

#75 this fixes your problem.

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

4 participants