šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@exemplar/storybook-react-native

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exemplar/storybook-react-native

Run React Native Storybook for a React Component that's using the consistent example structure defined by exemplar.

1.0.2
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
4
Weekly downloads
Ā 
Created
Source

@exemplar/storybook-react-native

Run React Native Storybook for a React Component that's using the consistent example structure defined by exemplar.

Install

Add @exemplar/storybook-react-native to your dependencies.

npm i --save-dev @exemplar/storybook-react-native

Add ios and android run scripts to your package.json:

{
  "scripts": {
    "storybook:ios": "exemplar-native --platform ios",
    "storybook:android": "exemplar-native --platform android"
  }
}

CLI flags

The exemplar-native CLI supports the following flags:

  • --platform: define the platform to use, defaults to ios.
  • --entry: define a custom path for the storybook examples, defaults to [cwd]/examples/native.

Setting up stories

Before you can run storybook you will need create some @exemplar style examples: see the example structure in a nutshell.

Keywords

storybook

FAQs

Package last updated on 07 Nov 2019

Did you know?

Socket

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