We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0df8734 commit 4782cb4Copy full SHA for 4782cb4
components/vc-image/src/Image.tsx
@@ -25,19 +25,6 @@ export type ImagePreviewType = Omit<
25
icons?: PreviewProps['icons'];
26
};
27
28
-export interface ImagePropsType extends Omit<ImgHTMLAttributes, 'placeholder' | 'onClick'> {
29
- // Original
30
- src?: string;
31
- wrapperClassName?: string;
32
- wrapperStyle?: CSSProperties;
33
- prefixCls?: string;
34
- previewPrefixCls?: string;
35
- placeholder?: boolean;
36
- fallback?: string;
37
- preview?: boolean | ImagePreviewType;
38
- onClick?: MouseEventHandler;
39
- onError?: HTMLImageElement['onerror'];
40
-}
41
export const imageProps = () => ({
42
src: String,
43
wrapperClassName: String,
0 commit comments