import React from "react"; import PropTypes from "prop-types"; export const Fanart = ({ url }) => { if (url == "") { return null; } return (
); }; Fanart.propTypes = { url: PropTypes.string.isRequired, }; Fanart.defaultProps = { url: "", };