mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
lint
This commit is contained in:
parent
43bc2e8062
commit
395eba5af6
@ -1,15 +1,15 @@
|
|||||||
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;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
||||||
@media only screen and (max-width: 768px) {
|
@media only screen and (max-width: 768px) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const Image = ({ ...props }) => {
|
export const Image = ({ ...props }) => {
|
||||||
return <StyledImage {...props} />
|
return <StyledImage {...props} />;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user