import { getPlanClass, isWpcomEnterpriseGridPlan } from '@automattic/calypso-products'; import { FoldableCard } from '@automattic/components'; import clsx from 'clsx'; import { useTranslate } from 'i18n-calypso'; import { usePlansGridContext } from '../../grid-context'; import { GridPlan } from '../../types'; import { PlanFeaturesItem } from '../item'; import PlanDivOrTdContainer from '../plan-div-td-container'; import { ALL_ENTERPRISE_LOGO_SLUGS } from '../shared/header-price'; import ClientLogoList from './client-logo-list'; type EnterpriseFeaturesProps = { renderedGridPlans: GridPlan[]; options?: { isTableCell?: boolean; isLogosOnly?: boolean; }; }; const EnterpriseFeatures = ( { renderedGridPlans, options }: EnterpriseFeaturesProps ) => { const { featureGroupMap, enableCategorisedFeatures, enterpriseFeaturesList, isEnterpriseA4AIndia, } = usePlansGridContext(); const translate = useTranslate(); const isTableCell = options?.isTableCell; const CardContainer = ( props: React.ComponentProps< typeof FoldableCard > ) => { const { children, className, ...otherProps } = props; return isTableCell ? (