Hey is a decentralized and permissionless social media app built with Lens Protocol 馃尶
1import { memo } from "react";
2import { Card } from "@/components/Shared/UI";
3
4interface PostWarningProps {
5 message: string;
6}
7
8const PostWarning = ({ message }: PostWarningProps) => {
9 return (
10 <Card className="!bg-gray-100 dark:!bg-gray-800 m-5" forceRounded>
11 <div className="px-4 py-3 text-sm">{message}</div>
12 </Card>
13 );
14};
15
16export default memo(PostWarning);