Skip to content

Commit

Permalink
docs(module:icon): fix API docs (#5972)
Browse files Browse the repository at this point in the history
doc changeAssetypescriptSource to changeAssetsSource

Co-authored-by: Bob <benben.shen.transwarp.io>
  • Loading branch information
Bull3 committed Oct 26, 2020
1 parent 2125f9f commit 9da1ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/icon/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
| `addIcon()` | 用于静态引入图标,可传入多个值(或者用数组解构赋值) | `IconDefinition` |
| `addIconLiteral()` | 用于静态引入用户自定义图标 | `string`, `string (SVG)` |
| `fetchFromIconfont()` | 用于从 FontIcon 获取图标资源文件 | `NzIconfontOption` |
| `changeAssetypescriptSource()` | 用于修改动态加载 icon 的资源前缀,使得你可以部署图标资源到你想要的任何位置,例如 cdn | `string` |
| `changeAssetsSource()` | 用于修改动态加载 icon 的资源前缀,使得你可以部署图标资源到你想要的任何位置,例如 cdn | `string` |

### SVG 图标

Expand Down

0 comments on commit 9da1ef3

Please sign in to comment.