import { cn } from "@/lib/utils"; import { __ } from "@wordpress/i18n"; type Props = { show: boolean; message?: string; className?: string; }; const ManagedSettingNotice = ({ show, message, className }: Props) => { if (!show) { return null; } return (
{message ?? __('This setting is currently managed by your wp-config.php environment.', 'wp-cloudflare-page-cache')}
); }; export default ManagedSettingNotice;