Socket
Book a DemoInstallSign in
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
npmnpm
Version published
Maintainers
4
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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.