import clsx from 'clsx'; import { FeatureId } from '@/react/portainer/feature-flags/enums'; import { isLimitedToBE } from '@/react/portainer/feature-flags/feature-flags.service'; import { BEFeatureIndicator } from './BEFeatureIndicator'; export function BEOverlay({ featureId, children, className, }: { featureId: FeatureId; children: React.ReactNode; className?: string; }) { const isLimited = isLimitedToBE(featureId); if (!isLimited) { return <>{children}>; } return (