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