Skip to content

Commit 4782cb4

Browse files
committed
remove redundant code
1 parent 0df8734 commit 4782cb4

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

components/vc-image/src/Image.tsx

-13
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,6 @@ export type ImagePreviewType = Omit<
2525
icons?: PreviewProps['icons'];
2626
};
2727

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-
}
4128
export const imageProps = () => ({
4229
src: String,
4330
wrapperClassName: String,

0 commit comments

Comments
 (0)