Action Logger addon for storybook
npm install @forbeslindesay/addon-ondevice-actions
Downloads per week
Readme View on GitHub
Storybook Actions Addon for react-native
Storybook Actions Addon allows you to log events/actions inside stories in Storybook.
This addon is a wrapper for addon @storybook/addon-actions. Refer to its documentation to understand how to use actions
yarn add -D @storybook/addon-ondevice-actions @storybook/addon-actions
Create a file called
rn-addons.js in your storybook config.
Add following content to it:
rn-addons.js next to your
See @storybook/addon-actions to learn how to write stories with actions and the crna-kitchen-sink app for more examples.