Socket
Socket
Sign inDemoInstall

@storybook/addon-ondevice-knobs

Package Overview
Dependencies
9
Maintainers
2
Versions
417
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @storybook/addon-ondevice-knobs

Display storybook story knobs on your deviced.


Version published
Weekly downloads
44K
decreased by-3.74%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

v6.5.0-rc.6

What's Changed

  • docs: update expo metro.config.js by @leonardo-fc in https://github.com/storybookjs/react-native/pull/441
  • Fix webpack5 and @storybook/addon-storyshots compatibility error, and a typo by @leonardo-fc in https://github.com/storybookjs/react-native/pull/442

New Contributors

  • @leonardo-fc made their first contribution in https://github.com/storybookjs/react-native/pull/441

Full Changelog: https://github.com/storybookjs/react-native/compare/v6.5.0-rc.5...v6.5.0-rc.6

Readme

Source

Storybook Knobs Addon for react-native

This addon is depcrecated in favour of controls, please only use it for transitioning to CSF, Args and Controls

See examples for migrating from Knobs to Controls in the web Controls Addon README.

Storybook Knobs Addon allows you to edit react props using the Storybook UI using variables inside stories in Storybook.

Framework Support

This is a wrapper for the addon @storybook/addon-knobs Refer to its documentation to understand how to use knobs

Installation

yarn add -D @storybook/addon-ondevice-knobs @storybook/addon-knobs  @react-native-community/datetimepicker @react-native-community/slider

Configuration

Add following content to .storybook/main.js:

module.exports = {
  addons: ['@storybook/addon-ondevice-knobs'],
};

Make sure to use the withKnobs decorator when using knobs import { withKnobs } from '@storybook/addon-ondevice-knobs';

Keywords

FAQs

Last updated on 18 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc