diff --git a/src/components/images/image.module.scss b/src/components/images/image.module.scss index 175e183e3f6326371f63fa4396cb75f388591d32..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 --- a/src/components/images/image.module.scss +++ b/src/components/images/image.module.scss @@ -1,6 +1 @@ -.imageClass { - height: 100; - width: 100 ; - -} diff --git a/src/containers/Home/index.jsx b/src/containers/Home/index.jsx index f6017fe445632eeb9b4c98f3eb470ed961560e21..443ac6852d68a7b884e6dd447c2267ed2036eb57 100644 --- a/src/containers/Home/index.jsx +++ b/src/containers/Home/index.jsx @@ -1,12 +1,18 @@ import React from 'react' -import PropTypes from 'prop-types' +//import PropTypes from 'prop-types' import {ProfileCover} from "../../assets/img/index"; -import "../../style/common/icons.scss"; - +//import "../../style/common/icons.scss"; +import Image from '../../components/images'; function index(props) { return ( <div> - <img src={ProfileCover} alt="" height="200px" width="200px" /> + <Image + src={""} + alt="Image" + className={""} + width={"100"} + height={"100"} + /> <i className="ni ni-tv-2 text-primary"></i> <i className="ni ni-planet text-primary"></i> </div>