Skip to content

Commit

Permalink
Remove --module-name option from module creation code
Browse files Browse the repository at this point in the history
The code presented in the docs for creating the NativeModuleSample still
had the --module-name  option, which was renamed to  --package-name  in:
brodybits/create-react-native-module#431

This commit removes this option, as the --package-name is optional and
by default the name will be set as the one used as second parameter.
  • Loading branch information
BartoszKlonowski committed May 21, 2021
1 parent 59bcae7 commit 4fb1140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/native-modules-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The steps to create a new native module library project are:
Follow the official React Native instructions at https://reactnative.dev/docs/native-modules-setup.

```bat
npx create-react-native-module --module-name "NativeModuleSample" NativeModuleSample
npx create-react-native-module NativeModuleSample
cd NativeModuleSample
yarn install
```
Expand Down

0 comments on commit 4fb1140

Please sign in to comment.