Skip to content

Commit 11e5d5f

Browse files
Merge pull request #25 from naveteam/chore/readme
README atualizado
2 parents ebd47b1 + 385f6eb commit 11e5d5f

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ npx react-native init MyApp --template react-native-template-nave-typescript
1818
- [Reactotron](https://github.com/infinitered/reactotron)
1919
- [React-Native-Vector-Icons](https://github.com/oblador/react-native-vector-icons)
2020
- [React-hook-form](https://github.com/react-hook-form/react-hook-form)
21+
- [Storybook](https://github.com/storybookjs/storybook/)
2122

2223

2324
## :computer: Code pattern
@@ -78,11 +79,24 @@ yarn ios
7879

7980
Running the storybook
8081

81-
In the app-module.tsx file, change the default export with
82-
```sh
82+
In the app-module.tsx file, change the default export to the following content
83+
84+
```js
8385
export { default } from '../storybook';
8486
```
85-
Then, choose your platform and run yarn ios/android
87+
88+
Then, you just need to re-run yout application.
89+
90+
Android
91+
92+
```sh
93+
yarn android
94+
```
95+
96+
iOS
97+
```sh
98+
yarn ios
99+
```
86100

87101

88102
In [package.json](https://github.com/naveteam/react-native-nave-typescript/blob/main/template/package.json) on the `scripts` section there are more scripts to manage the application.

template/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ SPEC CHECKSUMS:
518518
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
519519
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
520520
FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5
521-
FBReactNativeSpec: e08e628d7f11fcd6540725852480019998951c7b
521+
FBReactNativeSpec: 783bdec4dd89dac00537f633c47f0bc91d6a6509
522522
Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021
523523
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
524524
Flipper-Folly: f7a3caafbd74bda4827954fd7a6e000e36355489

0 commit comments

Comments
 (0)