0.1.14 • Published 2 years ago

rn-devdesign-system-demo v0.1.14

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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 install
  • yarn 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 .
    • if not tsc -p .
  • cd example
  • Install dependencies for example app -yarn install
  • Start example app yarn start
  • In another terminal at /example do yarn android to 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/lib and do npm link ../example/node_modules/react (to link both library and app to single react intance)
    • if you want to see app just comment the code which exported storybook from example/index.js and 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

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.84

2 years ago

0.0.83

2 years ago

0.0.82

2 years ago

0.0.81

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago