diff --git a/src/components/Image.jsx b/src/components/Image.jsx
deleted file mode 100644
index 7f38d1a2..00000000
--- a/src/components/Image.jsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import React from 'react'
-import className from 'classnames'
-
-export const Image = ({data, alt, opa = true}) => (
-
-
-
-
`${url} ${density}x`)}
- />
-
-)
-
-export default Image
\ No newline at end of file
diff --git a/src/components/Image/index.tsx b/src/components/Image/index.tsx
new file mode 100644
index 00000000..68d75eea
--- /dev/null
+++ b/src/components/Image/index.tsx
@@ -0,0 +1,40 @@
+import * as React from 'react'
+import cx from 'classnames'
+
+export interface IImageProps {
+ style?: React.CSSProperties
+ imgStyle?: React.CSSProperties
+ src: string
+ alt: string
+ opa: boolean
+ set: Array<{
+ url: string
+ density: number
+ }>
+}
+
+export const Image: React.FC = React.memo(props => {
+ const srcSet = props.set
+ .map(({ url, density }) => `${url} ${density}x`)
+ .join(' ')
+
+ return (
+
+
+
+
+
+ )
+})