interface PostWarningsProps { type: 'user' | 'admin' } export const PostWarnings = ({ type }: PostWarningsProps) => (
{type === 'admin' ? (
<>
Warning: This post has been blocked/hidden by the site for one of the
following reasons:
Malware, Not a Mod, Illegal, Spam, Verified Report of Unauthorized
Repost.
>
) : (
<>Notice: You have blocked this post>
)}