geothermie-atlas/app/components/warning.tsx

8 lines
242 B
TypeScript

import type { ReactNode } from 'react';
export default function Warning(props: { children: ReactNode }) {
return (
<p className="w-full whitespace-normal break-normal bg-orange-300 text-orange-700 mb-1 p-4">{props.children}</p>
);
}