geothermie-atlas/app/components/warning.tsx

8 lines
242 B
TypeScript
Raw Permalink Normal View History

2023-10-19 09:07:33 +00:00
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>
);
}