Grégoire Delattre bcadc48d5a Launch prettier with the --fix option
They've changed their default settings, this changes a lot of stuff in
our code base.
2020-04-01 17:55:34 +02:00

15 lines
311 B
JavaScript

import React from "react";
import PropTypes from "prop-types";
export const Fanart = ({ url }) => (
<div className="show-fanart mx-n3 mt-n1">
<img
className="img w-100 object-fit-cover object-position-top mh-40vh"
src={url}
/>
</div>
);
Fanart.propTypes = {
url: PropTypes.string,
};