headplane/app/components/Notice.tsx

17 lines
357 B
TypeScript
Raw Normal View History

2025-02-04 17:21:03 -05:00
import { CircleSlash2 } from 'lucide-react';
import React from 'react';
import Card from '~/components/Card';
2025-02-04 17:21:03 -05:00
export interface NoticeProps {
children: React.ReactNode;
}
2025-02-04 17:21:03 -05:00
export default function Notice({ children }: NoticeProps) {
return (
2025-02-04 17:21:03 -05:00
<Card className="flex w-full max-w-full gap-4 font-semibold">
<CircleSlash2 />
{children}
2025-02-04 17:21:03 -05:00
</Card>
2024-12-31 10:30:14 +05:30
);
}