Export const premiumValidAndActive

[MAILPOET-4745]
This commit is contained in:
David Remer
2022-11-08 10:26:36 +02:00
committed by Jan Jakeš
parent d02c63844d
commit 3a5d28f24a

View File

@@ -22,7 +22,8 @@ import {
UtmParams,
} from './upgrade_info';
const premiumValidAndActive = premiumFeaturesEnabled && MailPoet.premiumActive;
export const premiumValidAndActive =
premiumFeaturesEnabled && MailPoet.premiumActive;
type Props = Omit<ComponentProps<typeof Modal>, 'title' | 'onRequestClose'> & {
// Fix type from "@types/wordpress__components" where it is defined as a union of event