update introduce

This commit is contained in:
afc163 2015-11-08 19:09:28 +08:00
parent 06dc2b9041
commit 6c3fcea5a6

View File

@ -35,11 +35,19 @@
## 示例 ## 示例
```jsx ```jsx
import { Datepicker } from 'antd'; import { Datepicker } from 'antd';
ReactDOM.render(<Datepicker />, mountNode); ReactDOM.render(<Datepicker />, mountNode);
``` ```
或者按需加载:
```jsx
import Datepicker from 'antd/lib/datepicker';
ReactDOM.render(<Datepicker />, mountNode);
```
## 版本 ## 版本
- 稳定版:[![npm package](http://img.shields.io/npm/v/antd.svg?style=flat-square)](https://www.npmjs.org/package/antd) - 稳定版:[![npm package](http://img.shields.io/npm/v/antd.svg?style=flat-square)](https://www.npmjs.org/package/antd)