Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We will do so by going into the ios
folder inside our React Native project."
A block of code is set as follows:
"peerDependencies": {
"lottie-ios": "^3.2.3",
"react": "*",
"react-native": "|=0.46"
},
"dependencies": {
"invariant": "^2.2.2",
"prop-types": "^15.5.10",
"react-native-safe-modules": "^1.0.3"
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
include ':lottie-react-native'
project(':lottie-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/lottie-react-native/src/android')
Any command-line input or output is written as follows:
npm i --save lottie-react-native
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "Let's open up AE and click on the Create a New Project button."
Tips or Important Notes
Appear like this.