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

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.
主站蜘蛛池模板: 湾仔区| 大城县| 甘南县| 东辽县| 泾阳县| 中卫市| 滁州市| 太湖县| 大丰市| 安庆市| 漠河县| 衢州市| 通州区| 文昌市| 双柏县| 施秉县| 揭东县| 云南省| 杂多县| 常州市| 清远市| 广安市| 安多县| 静乐县| 刚察县| 鲜城| 随州市| 体育| 镇江市| 历史| 崇阳县| 石阡县| 岳普湖县| 门源| 青州市| 扶绥县| 武夷山市| 灵台县| 德江县| 饶阳县| 汝南县|