@nrwl/react-native:component-story

Generate storybook story for a react-native component.

Usage

nx generate component-story ...

By default, Nx will search for component-story in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nrwl/react-native:component-story ...

Show what will be generated without writing to disk:

nx g component-story ... --dry-run

Options

componentPath

Required
string

Relative path to the component file from the library root.

project

Required
string

The project where to add the components.

skipFormat

boolean
Default: false

Skip formatting files.