import { Card, CardContent } from "@/components/ui/card";
import { EmptyState } from "@/components/ui/empty-state";

export function NoPermissionState({
  description,
  title = "Access restricted",
}: {
  description: string;
  title?: string;
}) {
  return (
    <Card>
      <CardContent className="p-6">
        <EmptyState title={title} description={description} />
      </CardContent>
    </Card>
  );
}
