Building an application from modules
All modules are designed to be self-contained and standalone and expose a single or multiple entry points that you can reference in your application.
On a high-level, installing module within your application is no different from installing any other dependency with the package manager of your choice:
$ npm install @acmelabs/basic-module
If the module requires any additional configuration or native code, it will be automatically picked up by the CLI and linked accordingly.
In order to do that, make sure to update your react-native.config.js with the following:
const { getPackagesToLink } = require('@react-native-enterprise-toolkit/core')
module.exports = {
dependencies: getPackagesToLink(),
}