update docs

This commit is contained in:
afc163 2015-12-16 15:26:14 +08:00
parent d1fc49f885
commit 7b6fd3128c
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ ReactDOM.render(<DatePicker />, mountNode);
import 'antd/lib/index.css'; // or 'antd/style/index.less' import 'antd/lib/index.css'; // or 'antd/style/index.less'
``` ```
按需加载可通过此写法 `import DatePicker from 'antd/lib/date-picker';` 或使用插件 [babel-plugin-antd](https://github.com/ant-design/babel-plugin-antd)。 按需加载可通过此写法 `import DatePicker from 'antd/lib/date-picker'` 或使用插件 [babel-plugin-antd](https://github.com/ant-design/babel-plugin-antd)。
## 浏览器支持 ## 浏览器支持

View File

@ -33,7 +33,7 @@ Import style:
import 'antd/lib/index.css'; // or 'antd/style/index.less' import 'antd/lib/index.css'; // or 'antd/style/index.less'
``` ```
Use antd on demand by `import DatePicker from 'antd/lib/date-picker';` or use [babel-plugin-antd](https://github.com/ant-design/babel-plugin-antd). Use components on demand by writing as `import DatePicker from 'antd/lib/date-picker'` or use [babel-plugin-antd](https://github.com/ant-design/babel-plugin-antd).
## Browser Support ## Browser Support

View File

@ -45,7 +45,7 @@ ReactDOM.render(<DatePicker />, mountNode);
import 'antd/lib/index.css'; // or 'antd/style/index.less' import 'antd/lib/index.css'; // or 'antd/style/index.less'
``` ```
按需加载可通过此写法 `import DatePicker from 'antd/lib/date-picker';` 或使用插件 [babel-plugin-antd](https://github.com/ant-design/babel-plugin-antd)。 按需加载可通过此写法 `import DatePicker from 'antd/lib/date-picker'` 或使用插件 [babel-plugin-antd](https://github.com/ant-design/babel-plugin-antd)。
## 版本 ## 版本

View File

@ -48,7 +48,7 @@ pre code {
background: white; background: white;
color: #666; color: #666;
font-family: Consolas, monospace; font-family: Consolas, monospace;
line-height: 1.hljs-5; line-height: 1.5;
border: 1px solid #e9e9e9; border: 1px solid #e9e9e9;
padding: 10px 15px; padding: 10px 15px;
border-radius: 6px; border-radius: 6px;