This commit is contained in:
AykutSarac 2022-04-06 15:01:46 +03:00
parent 43bc2e8062
commit 395eba5af6

View File

@ -1,5 +1,5 @@
import React from 'react'; import React from "react";
import styled from 'styled-components'; import styled from "styled-components";
const StyledImage = styled.img` const StyledImage = styled.img`
object-fit: contain; object-fit: contain;
@ -11,5 +11,5 @@ const StyledImage = styled.img`
`; `;
export const Image = ({ ...props }) => { export const Image = ({ ...props }) => {
return <StyledImage {...props} /> return <StyledImage {...props} />;
}; };