mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-28 10:22:38 -04:00
8 lines
236 B
TypeScript
8 lines
236 B
TypeScript
export const ErrorMessage = ({ error }: { error?: string }) => {
|
|
return (
|
|
<div className="text-red-400 bg-red-800/20 border border-red-800/50 rounded-lg px-4 py-3 whitespace-break-spaces text-sm">
|
|
{error}
|
|
</div>
|
|
);
|
|
};
|