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

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.
主站蜘蛛池模板: 宾阳县| 中江县| 柳林县| 山东| 策勒县| 宁乡县| 通辽市| 邵武市| 锡林浩特市| 抚松县| 龙里县| 蒙城县| 靖远县| 华容县| 东乡| 绩溪县| 南丹县| 清原| 伊川县| 贵溪市| 阿鲁科尔沁旗| 华容县| 德安县| 夏津县| 万年县| 太湖县| 丽水市| 吉水县| 泰兴市| 清镇市| 西林县| 黄石市| 安化县| 五常市| 赤峰市| 遵义县| 大安市| 呼玛县| 全州县| 甘德县| 肇庆市|