Getting started
This is the documentation for the react-native module used by dormakaba digital to build react-native apps based on the visual components provided in @dormakaba/digital-reactnative-visual.
The repository can be found here: https://github.com/dormakaba-digital/digital-reactnative-client
Installation
The module is provided as an npm module:
npm install @dormakaba/digital-reactnative-client --save
Install and link the peer dependencies
# install dependencies
npm i @dormakaba/digital-reactnative-visual --save
npm i moment --save
npm i react-native-device-info --save
npm i react-navigation --save
# link
node node_modules/react-native/local-cli/cli.js link
As this module depends on our visual components please also make sure to read and follow the instructions there.
Using the components
All components and utils are provided as named exports
import { Drawer, NavButton, Navigator } from '@dormakaba/digital-reactnative-client'
Last updated