mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
Fix grammar
'antd support ES6' => 'antd supports ES6'. It is a grammar mistake unless 'antd' stands for 'ant designs'.
This commit is contained in:
parent
fe30adc18d
commit
0cccefbc77
@ -139,7 +139,7 @@ import Button from 'antd/es/button';
|
||||
import 'antd/es/button/style'; // or antd/es/button/style/css for css format file
|
||||
```
|
||||
|
||||
> Note: antd support ES6 tree shaking, so `import { Button } from 'antd';` will drop the js code you don't use too.
|
||||
> Note: antd supports ES6 tree shaking, so `import { Button } from 'antd';` will drop the js code you don't use too.
|
||||
|
||||
We strongly recommend using [babel-plugin-import](https://github.com/ant-design/babel-plugin-import), which can convert the following code to the 'antd/es/xxx' way:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user