They've changed their default settings, this changes a lot of stuff in our code base.
15 lines
311 B
JavaScript
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,
|
|
};
|