-
{Array.from({
length: Math.ceil(articles.length / size),
}).map((_, index) => (
- {index + 1} ))}
/** * standalone components that can be used from wherever */ import * as DateFns from "date-fns/fp"; import { ArticlePreview, Comment, User } from "./Db"; import { Url, url } from "./Routes"; const formatDate = DateFns.format("MMMM do"); export function FormErrors({ errors }: { errors: string[] }) { return (
); } export function Avatar({ user }: { user: User }) { return ({article.description}
Read more...{comment.content}