JSPM

react-native-storybook-knobs

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q31117F
  • License MIT

Displays knobs panel inside react-native app

Package Exports

  • react-native-storybook-knobs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-storybook-knobs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Native Addon Knobs

Displays story knobs right inside the app. Currently this is created for PR: https://github.com/storybooks/storybook/pull/3903 When PR is merged you will be able to use this in your app.

Installation

First install the module

npm install react-native-storybook-knobs

Add this line to rn-addons.js

require('react-native-storybook-knobs/register');

If you don't use rn-addons.js yet add this line next to getStorybookUI call

require('./rn-knobs');