Skip to content

Commit fd7ab4f

Browse files
committed
updated readme
1 parent d57d226 commit fd7ab4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Options:
4747
--namespace <namespace> (Windows only!) The namespace for the Windows module
4848
(Default: The name as PascalCase)
4949
--platforms <platforms> Platforms the library will be created for. (comma separated; default: `ios,android,windows`)
50+
--generate-example <shouldGenerate> Will generate a RN example project and link the new library to it (Default: `false`)
5051
```
5152

5253
## Programmatic usage
@@ -69,6 +70,7 @@ createLibrary({
6970
platforms: Array, /* Platforms the library will be created for. (Default: ['ios', 'android', 'windows']) */
7071
packageIdentifier: String, /* (Android only!) The package name for the Android module (Default: com.reactlibrary) */
7172
namespace: String, /* (Windows only!) The namespace for the Windows module (Default: The package identifier as PascalCase, which is `Com.Reactlibrary`) */
73+
generateExample: Boolean, /* Will generate a RN example project and link the new library to it (Default: `false`) */
7274
}
7375
```
7476

0 commit comments

Comments
 (0)