@storybook/addon-ondevice-actions
TypeScript icon, indicating that this package has built-in type declarations

7.6.20 • Public • Published

Storybook Actions Addon for react-native

Storybook Actions Addon allows you to log events/actions inside stories in Storybook.

Installation

yarn add -D @storybook/addon-ondevice-actions

Configuration

Then, add following content to .storybook/main.ts:

import { StorybookConfig } from '@storybook/react-native';

const main: StorybookConfig = {
  addons: ['@storybook/addon-ondevice-actions'],
};

export default main;

The actions documentation may also be useful.

Readme

Keywords

Package Sidebar

Install

npm i @storybook/addon-ondevice-actions

Weekly Downloads

104,383

Version

7.6.20

License

MIT

Unpacked Size

15.5 kB

Total Files

12

Last publish

Collaborators

  • domyen
  • kasperpeulen
  • valentinpalkovic
  • jreinhold
  • kylegach
  • ndelangen
  • shilman
  • tmeasday
  • ghengeveld
  • winkervsbecks
  • yannbf
  • dannyhw
  • gongreg