react-view icon indicating copy to clipboard operation
react-view copied to clipboard

Allow props to be set dynamically through knobs on multiple components

Open anishagg17 opened this issue 5 years ago • 2 comments

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.

anishagg17 avatar Jun 09 '20 13:06 anishagg17

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.

tajo avatar Jun 09 '20 17:06 tajo

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

anishagg17 avatar Jun 09 '20 18:06 anishagg17