import { Link } from "@remix-run/react"; import { RandomPostsType } from "./index.server"; export const RandomPosts = ({ posts }: { posts: RandomPostsType }) => { return (