react-ui-kit / dribbble2react

Transform Dribbble designs to React-Native code | Shop UI Kit >>
https://react-native-10x-faster.com
MIT License
2.56k stars 1.39k forks source link

Needs more documentation. #29

Closed karimcambridge closed 5 years ago

karimcambridge commented 5 years ago

Okay, so I thought setup would be very simple, (drop files in a create-react-native-app, then npm install then react-native run-android?

That fails with:

PS D:\Github\appname> react-native link
D:\Github\appname\node_modules\@babel\core\lib\config\files\plugins.js:152
    throw e;

Error: Cannot find module 'metro-react-native-babel-preset' from 'D:\Github\appname'

Also what is metro-react-native-babel-preset? where should that go


Also screens/Signup.js should be screens/SignUp.js


Unable to resolve "react-native-gesture-handler" from "node_modules\@react-navigation\native\src\Scrollables.js" < on expo start -> run on android emulator, that should be in package.json

hetmann commented 5 years ago

@karimcambridge good point.

Mainly the screens are for inspirational purpose, you just copy/paste full code or a partial code.

karimcambridge commented 5 years ago

Yea I just pulled the code.

Ah, I may be at fault here, I BELIEVE this folder was a create-react-native-app command and not an expo init, I shall start from fresh and try that!

hetmann commented 5 years ago

@karimcambridge let me know if is working or if I need to update the project.

karimcambridge commented 5 years ago

image In get this after doing

expo init Adding all files & package.json. npm install npm start.

raymclee commented 5 years ago

In screens\welcome.js

<Modal animationType="slide" visible={this.state.showTerms} onRequestClose={() => this.setState({ showTerms: false })}>

hetmann commented 5 years ago

@karimcambridge according to @cheuk3 you could add a new prop => onRequestClose={ () => {} }

hetmann commented 5 years ago

@karimcambridge the issue is fixed, please try again. @cheuk3 thanks for the support

arkhan13 commented 5 years ago

for the error about react-native-gesture handler

just go to your root project and on terminal run

expo install react-native-gesture-handler