content: import PropTypes from 'prop-types';
  import React from 'react';
  
  export default function ScheduleContentHeadingIcon (props) {
    const { schedule } = props;
  
    if (!schedule || !schedule.rule || !schedule.rule.icon) {
      return null;
    }
  
    return (
      <img src={schedule.rule.icon} className='mr-1' />
    );
  }
  
  ScheduleContentHeadingIcon.propTypes = {
    schedule: PropTypes.object
  };
  