@nx/react-native:component-story
Generate storybook story for a react-native component.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Generate storybook story for a react-native component.
1nx generate component-story ...
2By default, Nx will search for component-story in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/react-native:component-story ...
2Show what will be generated without writing to disk:
1nx g component-story ... --dry-run
2Relative path to the component file from the library root.
The project where to add the components.
trueSet up Storybook interaction tests.
falseSkip formatting files.
Join us live for exciting talks on developer tooling and monorepos! Catch the action on YouTube and join the conversation on Discord!