addon-smart-knobs icon indicating copy to clipboard operation
addon-smart-knobs copied to clipboard

Add option for ignoring components.

Open cristianoliveira opened this issue 7 years ago • 1 comments

Would be nice to have an option to either ignore components or props (perhaps respecting the null value). We are having a problem when using this plugin since one of our components have different behaviors based on a combination of props.

For instance, It doesn't accept icon and onRemove props at the same time. The problem is when using this plugin it always injects the onRemove props making impossible to show all these behaviors on the storybook. :(

I took a look at the code but couldn't find an option to do it.

cristianoliveira avatar Feb 26 '18 16:02 cristianoliveira

@cristianoliveira Do you have an idea on how this would work? If there something I can do that would help you make a PR?

ndelangen avatar Apr 03 '18 19:04 ndelangen