mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-28 18:59:24 -06:00
* simplify ui package, update all packages * fix typescript errors that occur during build
22 lines
708 B
TypeScript
22 lines
708 B
TypeScript
import { XCircleIcon } from "@heroicons/react/24/solid";
|
|
|
|
export const ErrorComponent: React.FC = ({}) => {
|
|
return (
|
|
<div className="rounded-lg bg-red-50 p-4">
|
|
<div className="flex">
|
|
<div className="flex-shrink-0">
|
|
<XCircleIcon className="h-12 w-12 text-red-400" aria-hidden="true" />
|
|
</div>
|
|
<div className="ml-3">
|
|
<h3 className="text-sm font-medium text-red-800">Error loading ressources</h3>
|
|
<div className="mt-2 text-sm text-red-700">
|
|
<p>
|
|
This ressource doesn't exist or you don't have the neccessary rights to access it.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|