In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The react-router-dom package adds a few new components to our application."
A block of code is set as follows:
import * as React from "react"; import {Link} from "react-router-dom"; export interface NavigationProps { brandName: string; } export class Navigation extends React.Component<NavigationProps, {}> { }
Any command-line input or output is written as follows:
$ npm install --save react-router-dom $ npm install --save-dev @types/react-router-dom
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "For this, click on the Create Repository after logging in and choose a new name for your image."