mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
9 lines
248 B
TypeScript
9 lines
248 B
TypeScript
|
|
export const ErrorMessage = ({ children }: { children: React.ReactNode }) => (
|
||
|
|
<div
|
||
|
|
className="rounded-md border border-red-500 bg-red-500/10 px-3 py-2 text-sm text-gray-600 dark:text-gray-200"
|
||
|
|
role="alert"
|
||
|
|
>
|
||
|
|
{children}
|
||
|
|
</div>
|
||
|
|
);
|