You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marcos Rodriguez
8200ad46e6
|
5 years ago | |
---|---|---|
.. | ||
src | 5 years ago | |
README.md | 5 years ago | |
index.js | 5 years ago |
README.md
This component was created with BuilderX
BuilderX uses third party libraries for some of the react-native components such as
@builderx/utils@0.1.6
lodash
You can add these packages by running yarn add [packageName]
or npm install [packageName]
Pease add the extracted component folder in your project and import the component folder.
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
For Expo project
import { Font } from "expo";
async componentDidMount(){
await Font.loadAsync({
<font-name>:require(<relative-path-to-font-file>)
})
}
For React-Native project
- Add rnpm to package.json providing the path to the font files
"rnpm": {
"assets": [
"./src/assets/fonts/"
]
}
- Run react-native link