storybook-addon-actions
storybook-addon-actions copied to clipboard
REPO/PACKAGE MOVED - Action logger addon for storybook
It can be replicated by replacing `circular` with something like `window` within: https://github.com/kadirahq/storybook-addon-actions/blob/master/.storybook/stories.js#L20 The click on the circular button will cause the action to never be logged. I've tried replacing...
I have a story that passes `onFocus={action('Focused')}` The component is an input element with `onFocus={this.onFocus}` ```js onFocus = e => { this.props.onFocus && this.props.onFocus(e.target); // App hangs. 'e' alone is...
This is a common shortcut in terminals (**and even in the Chrome DevTools!**) to clear the output. This would be very handy. I can submit this request upstream in https://github.com/kadirahq/react-storybook/issues/new...
So currently, if I do `args => args.splice(0, 1)` still I will get an array. How can I just log the first element of that array ? if I do...