Skip to content

Commit 60b4726

Browse files
committed
Update typings.
1 parent be0373c commit 60b4726

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Image/Image.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ReactNode } from "react";
22
export interface ImageProps {
3-
src: string,
3+
animationDuration?: number,
44
aspectRatio?: number,
55
color?: string,
66
disableError?: boolean,
@@ -10,6 +10,7 @@ export interface ImageProps {
1010
imageStyle?: object,
1111
loading?: ReactNode,
1212
onClick?: (event:React.MouseEvent<HTMLElement> ) => any,
13+
src: string,
1314
style?: object
1415
}
1516
declare const ImageComponent: React.ComponentType<ImageProps>;

0 commit comments

Comments
 (0)