@nx/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 @nx/react-native:stories ...
Nx 15 and lower use @nrwl/ instead of @nx/

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.