import { Box, Typography } from '@mui/material' import { ShieldOff } from 'lucide-react' import type { SxProps, Theme } from '@mui/material' interface RestrictedStateProps { message?: string reason?: string sx?: SxProps } export function RestrictedState({ message, reason, sx }: RestrictedStateProps) { return ( {message ?? 'Zugriff eingeschränkt'} {reason && ( {reason} )} ) }