import type { Post } from "../../../types/post";
import { autolink } from "../utils/autolink";

export function TextBubble({ post }: { post: Post }) {
  return (
    <div className="whitespace-pre-wrap break-words text-[14px] leading-snug text-neutral-100">
      {autolink(post.text ?? "")}
    </div>
  );
}
