This component was created with BuilderX.
@builderx/[email protected]
lodash
[email protected]
react-native-svg
react-native-maps
You can add these packages by running yarn add [packageName]
or npm install [packageName]
.
E.g. import Component from [folder path]
.
Note: You might need to load custom fonts that have been used in the component. Font files are available in the assets/fonts
folder. You can add this code to load these fonts
import { Font } from "expo";
async componentDidMount(){
await Font.loadAsync({
<font-name>:require(<relative-path-to-font-file>)
})
}
- Add rnpm to package.json providing the path to the font files.
"rnpm": {
"assets": [
"./src/assets/fonts/"
]
}
- Run react-native link. "# Crime-Reporting"