import { isWpcomEnterpriseGridPlan } from '@automattic/calypso-products'; import clsx from 'clsx'; import { usePlansGridContext } from '../../grid-context'; import { GridPlan } from '../../types'; import PlanDivOrTdContainer from '../plan-div-td-container'; import BillingTimeframe from '../shared/billing-timeframe'; type BillingTimeframesProps = { renderedGridPlans: GridPlan[]; showRefundPeriod?: boolean; options?: { isTableCell?: boolean; }; }; const BillingTimeframes = ( { options, renderedGridPlans, showRefundPeriod, }: BillingTimeframesProps ) => { const { isEnterpriseA4AIndia } = usePlansGridContext(); return renderedGridPlans.map( ( { planSlug } ) => { if ( isWpcomEnterpriseGridPlan( planSlug ) && ! isEnterpriseA4AIndia ) { return null; } const classes = clsx( 'plan-features-2023-grid__table-item', 'plan-features-2023-grid__header-billing-info' ); return ( ); } ); }; export default BillingTimeframes;