@nx/react-native:stories
Generate stories/specs for all components declared in a React Native project.
Webinar April 17: Making the Argument for MonoreposWebinar April 17: Making the Argument for MonoreposRegister now!
Generate stories/specs for all components declared in a React Native project.
1nx generate stories ...
2
By default, Nx will search for stories
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/react-native:stories ...
2
Show what will be generated without writing to disk:
1nx g stories ... --dry-run
2
Project for which to generate stories.
true
Set up Storybook interaction tests.
[*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx]
Paths to ignore when looking for components.
false
Generate JavaScript files rather than TypeScript files.
false
Skip formatting files.