6 lines
170 B
TypeScript
6 lines
170 B
TypeScript
export const InfoBox: React.FC = ({ children }) => (
|
|
<p className="bg-gray-200 text-gray-700 py-2 px-4 border border-transparent text-center">
|
|
{children}
|
|
</p>
|
|
);
|