mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
update introduce
This commit is contained in:
parent
06dc2b9041
commit
6c3fcea5a6
@ -35,11 +35,19 @@
|
||||
|
||||
## 示例
|
||||
|
||||
|
||||
```jsx
|
||||
import { Datepicker } from 'antd';
|
||||
ReactDOM.render(<Datepicker />, mountNode);
|
||||
```
|
||||
|
||||
或者按需加载:
|
||||
|
||||
```jsx
|
||||
import Datepicker from 'antd/lib/datepicker';
|
||||
ReactDOM.render(<Datepicker />, mountNode);
|
||||
```
|
||||
|
||||
## 版本
|
||||
|
||||
- 稳定版:[](https://www.npmjs.org/package/antd)
|
||||
|
Loading…
Reference in New Issue
Block a user