uber / react-view

React View is an interactive playground, documentation and code generator for your components.
https://react-view.pages.dev
MIT License
697 stars 41 forks source link

Allow props to be set dynamically through knobs on multiple components #38

Open anishagg17 opened 4 years ago

anishagg17 commented 4 years ago

Screenshot 2020-06-09 at 6 30 20 PM

Currently the knobs are applicable to the root component (Button) only , I propose to add knobs for the child component (input) also.

tajo commented 4 years ago

It gets a bit unclear what the UI would look like and how would you express the relationship between the Button and input. Note that the code snippet is auto generated based on props.

anishagg17 commented 4 years ago

But we can add like child component and some other set of props for it, then it can be realistic.