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

View File

@ -1,15 +1,15 @@
import React from 'react';
import styled from 'styled-components';
import React from "react";
import styled from "styled-components";
const StyledImage = styled.img`
object-fit: contain;
height: auto;
@media only screen and (max-width: 768px) {
width: 100%;
}
`;
export const Image = ({ ...props }) => {
return <StyledImage {...props} />
return <StyledImage {...props} />;
};