import React from "react";

const BillingNotices = () => {
  // Escaped, capability-checked markup from the PHP notice renderers.
  const html = window.arraySubs?.billingNotices;

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

export default BillingNotices;
