import React from "react";

const CronHealthNotice = () => {
  // Escaped, capability-checked markup from the shared PHP notice renderer.
  const html = window.arraySubs?.cronHealthNotice;

  return html ? (
    <div
      className="arraysubs-cron-health-notice"
      dangerouslySetInnerHTML={{ __html: html }}
    />
  ) : null;
};

export default CronHealthNotice;
