import { __ } from "@wordpress/i18n"; const ProIcon = () => ( ); const ProNotice = ({ title = __("Pro Features", "easy-accordion-free"), message = "", link = "https://easyaccordion.io/pricing/", linkText = "Upgrade to Pro!", className = "", features = [], subtitle = "", icon = true, panelNotice = false, linkButton = false, }) => { return (
{features.length > 0 ? ( <>
{icon &&
{}
}

{title}

{subtitle}
{linkButton && (
{__(linkText, "easy-accordion-free")}
)} ) : panelNotice ? ( <>
{icon &&
{}
}

{title}

{message}
{__(linkText, "easy-accordion-free")}
) : ( <> {message}{" "} {__(linkText, "easy-accordion-free")} )}
); }; export default ProNotice;