官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: 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: "Let's create a new file called tsconfig.json in the root of our project." 

A block of code is set as follows:

import * as React from "react";

const App: React.SFC = () => {
return <h1>My React App!</h1>;
};

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

interface IProps {
title: string;
content: string;
cancelCaption?: string;
okCaption?: string;
}

Any command-line input or output is written as follows:

cd my-components
npm install tslint tslint-react tslint-config-prettier --save-dev

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "We need to click the Install option to install the extension."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 米泉市| 资溪县| 洪洞县| 保德县| 莒南县| 江川县| 嘉鱼县| 麻栗坡县| 察隅县| 明水县| 赣州市| 天镇县| 南康市| 博野县| 九江市| 和龙市| 延安市| 宜川县| 闻喜县| 方山县| 汕头市| 洪江市| 德安县| 东乡| 全州县| 西昌市| 乐山市| 远安县| 砀山县| 合水县| 盘锦市| 临邑县| 望江县| 布尔津县| 浦县| 军事| 扶余县| 临潭县| 南丰县| 长乐市| 孟津县|