0.1.14 • Published 4 years ago
rn-devdesign-system-demo v0.1.14
Contributing to the library -
- Clone the repository
https://github.com/rushi-173/rn-devdesign-system-demo/tree/setting-up-storybook - Enter into repository
cd rn-devdesign-system-demo yarn installyarn compile- compile commands different for diff device at stage
- if prev lib exists
- windows
rd /s /q lib && tsc -p . - ios
rm -rf lib && tsc -p .
- windows
- if not
tsc -p .
cd example- Install dependencies for example app -
yarn install - Start example app
yarn start - In another terminal at
/exampledoyarn androidto see your app running inside the emulator.- Now you are able to see storybook react native running which is using components from component library
- If you are facing error about
Invalid hook call-- go to
rn-devdesign-system-demo/liband donpm link ../example/node_modules/react(to link both library and app to single react intance)
- go to
- if you want to see app just comment the code which exported storybook from
example/index.jsand uncomment appregistry code and reload and you will be able to see your app running.
- Now go back to the library
cd .. - Create a new component in
src/atomic-components - Export from
src/index.tsx - Now again compile the library use
yarn compile - Import that component in example app from library and use it. Save your app and just reload if its already running or start the app
0.1.10
4 years ago
0.1.11
4 years ago
0.1.12
4 years ago
0.1.13
4 years ago
0.1.14
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.9
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.84
4 years ago
0.0.83
4 years ago
0.0.82
4 years ago
0.0.81
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago