@nrwl/react-native:stories

Generate stories/specs for all components declared in a React Native project.

Usage

nx generate stories ...

By default, Nx will search for stories in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nrwl/react-native:stories ...

Show what will be generated without writing to disk:

nx g stories ... --dry-run

Options

project

Required
string

Project for which to generate stories.

ignorePaths

Array<string>

Paths to ignore when looking for components.

skipFormat

boolean
Default: false

Skip formatting files.