It's necessary add both decorators?
renatorib opened this issue · 2 comments
renatorib commented
Since withSmartKnobs
encapsulates withKnobs
here:
https://github.com/lucasconstantino/storybook-addon-smart-knobs/blob/master/src/index.js#L65
The usage of withKnobs
decorator in readme example is unnecessary duplicate, right?
storiesOf('Button')
.addDecorator(withSmartKnobs)
.addDecorator(withKnobs) // <--------------- this
.add('simple', () => <Button>Smart knobed button</Button>)
tko commented
Works for me without withKnobs
(using globally added decorators.)