Skip to content

Commit

Permalink
docs(module:image): add NzImageModule import guide (#6291)
Browse files Browse the repository at this point in the history
  • Loading branch information
stygian-desolator authored Dec 30, 2020
1 parent eca3c9a commit a9a6bee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/image/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Previewable image.
- When you need to display pictures.
- Display when loading a large image or fault tolerant handling when loading fail.

```ts
import { NzImageModule } from 'ng-zorro-antd/image';
```

## API

### [nz-image]
Expand Down
4 changes: 4 additions & 0 deletions components/image/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/D1dXz9PZqa/image.svg
- 需要展示图片时使用。
- 加载大图时渐进加载或加载失败时容错处理。

```ts
import { NzImageModule } from 'ng-zorro-antd/image';
```

## API

### [nz-image]
Expand Down

0 comments on commit a9a6bee

Please sign in to comment.