From 218a51600060641a606cf85a79aba3670b225825 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 23 Mar 2017 15:11:35 +0800 Subject: [PATCH] update doc --- README-zh_CN.md | 6 +++--- README.md | 6 +++--- docs/react/introduce.en-US.md | 6 +++--- docs/react/introduce.zh-CN.md | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README-zh_CN.md b/README-zh_CN.md index 0487ff69d1..b779ced69a 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -70,9 +70,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less' } ``` -> 注意:设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。 - -> 注意: 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。 +> 注意: +> - 设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。 +> - 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。 ## 国际化 diff --git a/README.md b/README.md index 4010fb93f2..fdf1c9bd35 100644 --- a/README.md +++ b/README.md @@ -96,9 +96,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less' } ``` -> Note: set `allowSyntheticDefaultImports` to prevent `error TS1192: Module 'react' has no default export`. - -> Note: Don't use @types/antd, antd provide a built-in ts definition already. +> Note: +> - set `allowSyntheticDefaultImports` to prevent `error TS1192: Module 'react' has no default export`. +> - Don't use @types/antd, antd provide a built-in ts definition already. ## Internationalization diff --git a/docs/react/introduce.en-US.md b/docs/react/introduce.en-US.md index 2c1740e134..ddd47f7bed 100644 --- a/docs/react/introduce.en-US.md +++ b/docs/react/introduce.en-US.md @@ -123,9 +123,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less' } ``` -> Note: set `allowSyntheticDefaultImports` to prevent `error TS1192: Module 'react' has no default export`. - -> Note: Don't use @types/antd, antd provide a built-in ts definition already. +> Note: +> - set `allowSyntheticDefaultImports` to prevent `error TS1192: Module 'react' has no default export`. +> - Don't use @types/antd, antd provide a built-in ts definition already. ## Links diff --git a/docs/react/introduce.zh-CN.md b/docs/react/introduce.zh-CN.md index 6c9a8b0eb0..0c45688679 100644 --- a/docs/react/introduce.zh-CN.md +++ b/docs/react/introduce.zh-CN.md @@ -126,9 +126,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less' } ``` -> 注意:设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。 - -> 注意: 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。 +> 注意: +> - 设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。 +> - 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。 ## 链接