import React from "react" import PropTypes from "prop-types" import { prettyDurationFromMinutes } from "../../utils" export const Runtime = ({ runtime }) => { if (runtime === 0) { return null; } return (  {prettyDurationFromMinutes(runtime)} ); } Runtime.propTypes = { runtime: PropTypes.number }; Runtime.defaultProps = { runtime: 0 };