import React from "react" import PropTypes from "prop-types" export const ImdbBadge = ({ imdbId }) => { if (imdbId === undefined) { return null } return (
IMDb
); } ImdbBadge.propTypes = { imdbId: PropTypes.string }; ImdbBadge.defaultProps = { imdbId: undefined };