chore: add code formatting and linting (#952)

This commit is contained in:
Caleb
2018-08-07 14:46:54 -06:00
committed by Shawn Erquhart
parent 32e0a9b2b5
commit f801b19221
265 changed files with 5988 additions and 4481 deletions

View File

@ -6,11 +6,11 @@ import { WidgetPreviewContainer } from 'netlify-cms-ui-default';
const Image = styled.img`
max-width: 100%;
height: auto;
`
`;
const ImagePreview = ({ value, getAsset }) => (
<WidgetPreviewContainer>
{ value ? <Image src={getAsset(value)} role="presentation"/> : null}
{value ? <Image src={getAsset(value)} role="presentation" /> : null}
</WidgetPreviewContainer>
);