mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: Image.PreviewGroup typescript definition (#28263)
This commit is contained in:
parent
f4d29bf02c
commit
a8fbd224f7
@ -1,9 +1,9 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import RcImage from 'rc-image';
|
import RcImage from 'rc-image';
|
||||||
import { GroupConsumerValue } from 'rc-image/lib/PreviewGroup';
|
import { GroupConsumerProps } from 'rc-image/lib/PreviewGroup';
|
||||||
import { ConfigContext } from '../config-provider';
|
import { ConfigContext } from '../config-provider';
|
||||||
|
|
||||||
const InternalPreviewGroup: React.FC<GroupConsumerValue> = ({
|
const InternalPreviewGroup: React.FC<GroupConsumerProps> = ({
|
||||||
previewPrefixCls: customizePrefixCls,
|
previewPrefixCls: customizePrefixCls,
|
||||||
...props
|
...props
|
||||||
}) => {
|
}) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user