scup / atellier

The smartest way to share interactive components with your team.
http://scup.github.io/atellier/
MIT License
995 stars 33 forks source link

Better PropTypes.node input #42

Open lucasconstantino opened 8 years ago

lucasconstantino commented 8 years ago

I tried to find a related issue, but could not. Currently, any property with type "node" is rendered with an input that seems like a text area, but nothing I put on it has any effect in the component view. How is this input supposed to work? PropTypes.node is indeed tricky as it accepts pretty much anything that could be rendered... you guys think we could build a composed input for that? Maybe first select from node types, then show the type's specific input, such as string, element, etc.