Grégoire Delattre d94843be9f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Group the torrents by types in the torrent list
By the way let's show more infos about what's being downloaded.
2020-04-13 17:38:47 +02:00

18 lines
324 B
JavaScript

import React from "react";
import PropTypes from "prop-types";
export const Poster = ({ url }) => {
if (!url || url === "") {
return null;
}
return (
<div className="col-md-2 d-none d-md-block">
<img className="card-img" src={url} />
</div>
);
};
Poster.propTypes = {
url: PropTypes.string,
};