1 import { PLANS } from '@proton/payments';
2 import { isTrial } from '@proton/shared/lib/helpers/subscription';
3 import type { Subscription } from '@proton/shared/lib/interfaces';
6 subscription?: Subscription;
9 const isEligible = ({ subscription }: Props) => {
10 return isTrial(subscription, PLANS.MAIL);
13 export default isEligible;