feat: Image PreviewGroup Support top progress rendering (#35038)

This commit is contained in:
PCCCCCCC 2022-04-14 23:45:16 +08:00 committed by GitHub
parent b62e409ad5
commit 7769ca1271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,8 @@ Previewable image.
src?: string; // V4.10.0
mask?: ReactNode; // V4.9.0
maskClassName?: string; // V4.11.0
current?: number; // V4.12.0 Only support PreviewGroup.
current?: number; // V4.12.0 Only support PreviewGroup
countRender?: (current: number, total: number) => string // Only support PreviewGroup
}
```

View File

@ -38,7 +38,8 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/D1dXz9PZqa/image.svg
src?: string; // V4.10.0
mask?: ReactNode; // V4.9.0
maskClassName?: string; // V4.11.0
current?: number; // V4.12.0 仅支持 PreviewGroup。
current?: number; // V4.12.0 仅支持 PreviewGroup
countRender?: (current: number, total: number) => string // 仅支持 PreviewGroup
}
```

View File

@ -130,7 +130,7 @@
"rc-drawer": "~4.4.2",
"rc-dropdown": "~3.4.0",
"rc-field-form": "~1.26.1",
"rc-image": "~5.4.0",
"rc-image": "~5.5.0",
"rc-input": "~0.0.1-alpha.5",
"rc-input-number": "~7.3.0",
"rc-mentions": "~1.7.0",