import type { ReactNode } from 'react' interface TierGateProps { feature: string hasFeature: (f: string) => boolean fallback?: ReactNode children: ReactNode } export default function TierGate({ feature, hasFeature, fallback, children }: TierGateProps) { if (!hasFeature(feature)) { return fallback ? <>{fallback}> : (